Template:I EmpBuilding: Difference between revisions
Jump to navigation
Jump to search
(-cleanup) |
m (→top: Substituted IO templates) |
||
Line 5: | Line 5: | ||
</noinclude><!-- | </noinclude><!-- | ||
-->{{minititle|EmpBuilding}} | -->{{minititle|EmpBuilding}} | ||
{{ | {{I|SetHealth|param=integer|Sets the health of the building, clamped between 0 and the building's maximum health.}} | ||
{{ | {{I|Destroy|param=void|Set the health of the building to 0.}} | ||
{{ | {{I|RecycleStartDuration|param=integer|Begin the recycle process, with the countdown set to the given number of seconds.}} | ||
{{ | {{I|RecycleCancel|param=void|Cancel the recycling process, returning the building to a functional state.}} | ||
{{ | {{I|SabotageStart|param=void|Mark this building as sabotaged. If the [[activator]] is a player, give them points for it.}} | ||
{{ | {{I|SabotageEnd|param=void|Mark this building as no longer sabotaged.}} |
Latest revision as of 12:55, 21 April 2025
This template is our holder for all inputs that are assigned through EmpBuilding.
EmpBuilding:
- SetHealth <integer>
- Sets the health of the building, clamped between 0 and the building's maximum health.
- Destroy <void>
- Set the health of the building to 0.
- RecycleStartDuration <integer>
- Begin the recycle process, with the countdown set to the given number of seconds.
- RecycleCancel <void>
- Cancel the recycling process, returning the building to a functional state.
- SabotageStart <void>
- Mark this building as sabotaged. If the activator is a player, give them points for it.
- SabotageEnd <void>
- Mark this building as no longer sabotaged.