User Tools

Site Tools


prpl:settechavailability

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
prpl:settechavailability [2016/12/02 23:34] – external edit 127.0.0.1prpl:settechavailability [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  SETTECHAVAILABILITY  =====+=====  SetTechAvailability  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+Tech Enabled | | [ int bool - ] |
  
  
 === Description === === Description ===
 +Sets the availability of a tech. If it is locked, the state may not be //changed//, but it can remain //enabled//.
 +
 +Panel/number equivalence:
 +^Left^Right^
 +|0|1|
 +|2|3|
 +|4|5|
 +|6|7|
 +|8|9|
 +|10|11|
  
 === Examples === === Examples ===
-<code> i2 = GetIntFromStack();  +<code>8 4 do 
- i1 = GetIntFromStack();  + I 0 SetTechAvailablity Trace #Lock all of the blue techs. 
- +loop
 </code> </code>
  
prpl/settechavailability.1480721640.txt.gz · Last modified: 2025/02/14 14:56 (external edit)