Difference between revisions of "Template:Daily Tip"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#vardefine: day | {{{1|{{#time:z}} }}} }} {{#ifexpr: {{#var: day}} > 84 | {{#vardefine: day | {{#expr: {{#var: day}}- 85}} }} |}} {{#ifexpr: {{#var: day}} > 84 | {{#vardefine: day | {{#expr: {{#var: day}}- 85}} }} |}} {{#ifexpr: {{#var: day}} > 84 | {{#vardefine: day | {{#expr: {{#var: day}}- 85}} }} |}} {{#ifexpr: {{#var: day}} > 84 | {{#vardefine: day | {{#expr: {{#var: day}}- 85}} }} |}}
+
<includeonly>{{#vardefine: var1 |{{#expr:(({{#time:U}}+{{#time:z}})*(67)+({{NUMBEROFARTICLES:R}} mod (67)))}}}}{{#vardefine: numTips|85}}{{#switch: {{#ifexpr:(({{#var:var1}})/{{#var:numTips}})=(({{#var:var1}}/{{#var:numTips}}) round 0)|0|{{#ifexpr:({{#var:var1}}/{{#var:numTips}}) >0 and ({{#var:var1}}/{{#var:numTips}})<1|{{#expr:{{#var:var1}}}}|{{#expr:({{#var:var1}})-(((({{#var:var1}}/{{#var:numTips}})-0.5) round 0)*{{#var:numTips}})}}}}}}
{{#switch:  {{#var: day}}
 
 
| 0 = You can dismiss letters by right-clicking on them.
 
| 0 = You can dismiss letters by right-clicking on them.
 
| 1 = You can hold the shift key to queue orders on your colonists.
 
| 1 = You can hold the shift key to queue orders on your colonists.
Line 87: Line 86:
 
| 84 = The [[psycasts|psychic skip power]] works on self, allies, enemies, and even items. The tactical possibilities are endless. {{RoyaltyIcon}}
 
| 84 = The [[psycasts|psychic skip power]] works on self, allies, enemies, and even items. The tactical possibilities are endless. {{RoyaltyIcon}}
 
| #default = [[Template:Daily Tip|Template]] is broken! Please contact [[User:Harakoni]]  
 
| #default = [[Template:Daily Tip|Template]] is broken! Please contact [[User:Harakoni]]  
}}<noinclude>{{Documentation}}</noinclude>
+
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 09:14, 3 March 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

Uses a pseudorandom number generator to select and then displays a new tips from the loading screens.


You can analyze the chance a shot will hit by selecting the shooter and placing the mouse over the target.