displaycase ![code/game/objects/structures/displaycase.dm 1](git.png)
Vars | |
alert | If true, this is alarmed and will set off a siren when opened without proper access. |
---|---|
electronics | The electronics currently installed in this showpiece. |
force_alarm | Do we want to force alarms even if off station? |
open | If this is currently unlocked |
openable | If false, this can never be opened, and the item inside should be inaccessible. Good for showcases. |
showpiece | The object stored inside. |
start_showpiece_type | The type that should be instantiated to fill the showpiece. |
start_showpieces | A list of random items that could possibly fill the case, as well as a flavor message for them. Takes sublists in the form of list("type" = /obj/item/bikehorn, "trophy_message" = "henk") |
trophy_message | A flavor message to show with this item. |
Var Details
alert ![code/game/objects/structures/displaycase.dm 15](git.png)
If true, this is alarmed and will set off a siren when opened without proper access.
electronics ![code/game/objects/structures/displaycase.dm 21](git.png)
The electronics currently installed in this showpiece.
force_alarm ![code/game/objects/structures/displaycase.dm 30](git.png)
Do we want to force alarms even if off station?
open ![code/game/objects/structures/displaycase.dm 17](git.png)
If this is currently unlocked
openable ![code/game/objects/structures/displaycase.dm 19](git.png)
If false, this can never be opened, and the item inside should be inaccessible. Good for showcases.
showpiece ![code/game/objects/structures/displaycase.dm 13](git.png)
The object stored inside.
start_showpiece_type ![code/game/objects/structures/displaycase.dm 23](git.png)
The type that should be instantiated to fill the showpiece.
start_showpieces ![code/game/objects/structures/displaycase.dm 26](git.png)
A list of random items that could possibly fill the case, as well as a flavor message for them. Takes sublists in the form of list("type" = /obj/item/bikehorn, "trophy_message" = "henk")
trophy_message ![code/game/objects/structures/displaycase.dm 28](git.png)
A flavor message to show with this item.