User:Teamtoto

From Caves of Qud Wiki
Jump to navigation Jump to search

Good morning! It is a lovely Hindsun on the 21st of Ubu Ut (May 21, 15:16:35 pm UTC).

Code Name Hex
r dark red #a64a2e
R bright red #d74200
o dark orange #f15f22
O bright orange #e99f10
w brown #98875f
W yellow #cfc041
g dark green #009403
G bright green #00c420
b dark blue #0048bd
B bright blue #0096ff
c dark cyan #40a4b9
C bright cyan #77bfcf
m dark magenta #b154cf
M bright magenta #da5bd6
k black #0f3b3a
K dark grey #155352
y bright grey #b1c9c3
Y white #ffffff
/Sandbox /Sandbox2
Template:Sandbox/User:Teamtoto/newitem2 Module:Sandbox/User:Teamtoto/LuaModule
Module:GetCreatureStats Form:Simulator_Sandbox
Template:VSSim /Bug Hall of Fame
Template:Simulator Sandbox /Sandbox3

Maintenence shortcuts

Special:WantedPages Special:WantedCategories

TODO:

  • optimize all queries that use favilink
  • decrease query count by removing ID to name / ID to page as much as possible
  • qbe grammar stuff

Faction template

  • add attribute for holy place?
  • fix parent faction so if a faction reputation for it already exists, toss it

QBE TODO

  • what does DynamicObjectsTable:Saltdunes_Creatures:Weight Value=3 do?
  • also DynamicObjectsTable:Snapjaws:Builder

Notes

MAKE SURE THE FIELD THAT YOU'RE GROUPING BY IN A ONE TO MANY QUERY IS ACTUALLY IN THE ONE TO MANY FIELD FIRST

custom dataspaces

Modding is 10000 (modding talk is 10001) Data is 10002 (data talk is 10003)

from [1]

HOLDS doesn't work as expected

Cargo bug. Instead of using HOLDS try, *__full instead. The lists then becomes a ordinary string and can be queried as such.

Example:

  • Replace skill_gems.gem_tags HOLDS "Aura" with skill_gems.gem_tags__full LIKE "%Aura%"
  • Use regexp for more advanced queries: events.id__FULL REGEXP "(, |^)SSF Abyss(, |$)".
    • The delimiter in this case is ,
    • Replace | with {{!}} in normal wikitext.

Case sensitivity

Cargo is case insensitive. Use BINARY instead. Read more here.

Replacing _pageData

https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Cargo/Storing_data#Storing_page_data To recreate with replacement, add a --replacement flag:

php setCargoPageData.php --replacement

The replacement table can then be switched in normally using the Special:CargoTables interface.

If you want to get rid of this table, call the following instead:

php setCargoPageData.php --delete

You do not need to call the "--delete" option if you are planning to recreate the table; simply calling setCargoPageData.php will delete the previous version.