Changes

Jump to navigation Jump to search
986 bytes added ,  15:57, 6 February 2020
Line 242: Line 242:     
==== Upgradable ====
 
==== Upgradable ====
This component makes this furniture repairable. These variables have been extracted directly from the class description, note that some of these variables should remain unchanged:
+
This component makes this furniture repairable. These variables have been extracted directly from the class description:
* TheScreen
+
* '''TheScreen''' (GameObject) - Reference to screen of object, e.g. from PC
* SmokePosition
+
* '''SmokePosition''' (Transform) - Position where smoke should emit when broken
* SmokeEmitter
+
* '''RepairTime''' (Decimal number) - How long it takes to repair
* Quality
+
* '''FireStarter''' (Decimal number) - Whether furniture can start fires
* RepairTime
+
* '''DisableObjs''' (List of GameObject) - Objects to activate/deactiveate with furniture On state
* AtrophyModifier
+
* '''TimeToAtrophy''' (Decimal number) - How long it takes to break object in months
* LastRepair
+
* '''OnMat''' (Material) - Material to use on screen when furniture turns on
* Descriptions
+
* '''OffMat''' (Material) - Material to use on screen when furniture is off
* DisableObjs
+
* '''DegradeAlways''' (True/False) - Whether furniture is always degrading
* TimeToAtrophy
+
* '''ModifiableAtrophy''' (True/False) - Whether furniture degration can be modified by external factors
* OnMat
+
* '''ManualDegrade''' (True/False) - Whether to calculate degration manually, used for temperature furniture based on room temperature
* OffMat
+
* '''AffectedByTemp''' (True/False) - Whether furniture breaks faster in hot rooms
* DegradeAlways
+
* '''CanBreak''' (True/False) - Whether furniture can break at all, e.g. not chairs
* ModifiableAtrophy
+
* '''ChangeColorOffSecondary''' (True/False) - Whether to make secondary color black when furniture is turned off
* AffectedByTemp
+
* '''ChangeColorOffTertiary''' (True/False) - Whether to make tertiary color black when furniture is turned off
* Broken
  −
* CanBreak
  −
* ChangeColorOffSecondary
  −
* ChangeColorOffTertiary
  −
* furn
  −
* Anim
      
==== TableScript ====
 
==== TableScript ====

Navigation menu