Changes

Jump to navigation Jump to search
33 bytes added ,  15:40, 4 February 2020
Line 282: Line 282:  
==== Script example ====
 
==== Script example ====
 
This script is used in the microphone surveillance feature of the Operating System SoftwareType:
 
This script is used in the microphone surveillance feature of the Operating System SoftwareType:
  '''if''' (Product.GetVar(<span style="color:blue">"MicMining"</span>, <span style="color:blue">true</span>)) //Check if player has been caught
+
  '''if''' (Product.GetVar(<span style="color:blue">"MicMining"</span>, <span style="color:blue">true</span>)) <span style="color:green">//Check if player has been caught</span>
 
  {
 
  {
 
  Product.Bugs = Max(<span style="color:blue">0</span>, Product.Bugs - Product.Userbase * <span style="color:blue">0.01</span>); <span style="color:green">//Remove 1 bug from product for each 100th active user</span>
 
  Product.Bugs = Max(<span style="color:blue">0</span>, Product.Bugs - Product.Userbase * <span style="color:blue">0.01</span>); <span style="color:green">//Remove 1 bug from product for each 100th active user</span>

Navigation menu