This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:gettechavailability [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:gettechavailability [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
<- [[.: | <- [[.: | ||
- | ===== | + | ===== |
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | + | | Tech number |
=== Description === | === Description === | ||
+ | Get whether a certain tech is available. Tech numbers go by row, down the panel. | ||
+ | |||
+ | I.e.: | ||
+ | ^Left^Right^ | ||
+ | |0|1| | ||
+ | |2|3| | ||
+ | |4|5| | ||
+ | |6|7| | ||
+ | |8|9| | ||
+ | |10|11| | ||
=== Examples === | === Examples === | ||
- | < | + | < |
- | stack.Push(new Data(0)); | + | 8 4 do |
- | stack.Push(new Data(GameSpace.instance.techAvailable[i1] ? 1 : 0)); | + | I GetTechAvailablity Trace #Trace the availability of the blue techs. |
- | + | loop | |
</ | </ | ||