User talk:Syntaxaire

From Caves of Qud Wiki
Jump to navigation Jump to search

renderstr lacks color

It's a little unintuitive, but renderstr also requires ColorString concatenated before the RenderString to properly color the char. Is it better if I just add a new colorstr value to the template? Teamtoto (talk) 14:37, 7 July 2019 (UTC)

  • I have added colorstr to the template, so just set it to ColorString. Teamtoto (talk) 15:56, 7 July 2019 (UTC)
  • Done Syntaxaire (talk) 02:06, 11 July 2019 (UTC)

wiki image naming conventions do not follow in game image names

In game the same sprites are used for different objects but look the same because of ingame shaders that can change the base color and the detail color. See: On the Origins and Nature of the Dark Calculus and Across Moghra'yi, Vol. I: The Sunderlies that use the same sw_book2.png but are different colors due to their ColorString.

That function is unable to be replicated in the wiki(for now), so current wiki image naming conventions are their display name with all lowercase and the color codes and punctuation removed. There are still some sprites with unconventional naming styles that are not their page title due to being reused for multiple items (see: File:Across moghrayi.png). I currently have no idea how to deal with this issue, but in the meantime excluding these corner cases, changing image names in the template to the display title with all lower case, no color codes, no punctuation should fit properly into the wiki.

Teamtoto (talk) 14:50, 7 July 2019 (UTC)

new values for template item

just a reminder that:

  • chargeperdram is a new attribute and should be used for liquid cells.
  • charge is renamed to chargeuse
  • wornon is a list that is separated by , and is based on the WornOn attribute. dont use wikilinks
  • usesslots is a list that is separated by , and is based on the UsesSlots attribute. dont use wikilinks

will edit this section if I add more. Teamtoto (talk) 17:55, 7 July 2019 (UTC)

  • reputationbonus now added. it takes a list of Template:Reputation bonus with the syntax
    | reputationbonus = {{Reputation bonus|(faction in plaintext)|(bonus)|(optional 3rd argument of string that contains the owner. can be left alone 98% of the time as it defaults to the page name it's called)}}
    {{Reputation bonus|(faction in plaintext2)|(bonus2)|(optional 3rd argument)}} etc...
    
    Teamtoto (talk) 16:07, 11 July 2019 (UTC)

new values for template character

still a massive work in progress, but here are some changes:

  • gender (just plaintext as specified in the xml) is an optional parameter. pronouns can also be specified but optional.
  • inventory is a bulleted list of all inventoryobjectblueprints for a character that must call Template:Inventory for each item for cargo to be able to handle holding a list of items that contain more than just their name. its usage is
| inventory = {{Inventory|(item)|(quantity, defaults to 1)|(character name, defaults to pagename)}}
{{Inventory|(item2)|(quantity2, defaults to 1)|(optional pagename)}}
{{Inventory|(item3)|(quantity3, defaults to 1)|(optional pagename)}} etc...}}

Teamtoto (talk) 14:58, 9 July 2019 (UTC)

    • edited the inventory template so it takes unnamed arguments. It's much easier to read and type now Teamtoto (talk) 16:10, 11 July 2019 (UTC)
  • new: not sure if it's the way to do it, but there are new values for each attribute: egodice, egotierdice for example. attributedice is NdM, and tierdice is (t-1)dM. the base attribute value is the same and takes the base integer value. Right now, these will not show up on the infobox because i'm mulling over how to present this information in a digestible format. Teamtoto (talk) 23:10, 10 July 2019 (UTC)

Notes to self

  • real line breaks in long descriptions

Syntaxaire (talk) 17:35, 8 July 2019 (UTC)