pet_carrier ![code/game/objects/items/pet_carrier.dm 5](git.png)
Vars | |
allows_locking | Does this carrier allow locking? Disabled for the small pet carrier. |
---|---|
close_sound | Sound played when the mob carrier is closed. |
locked | Is this carrier locked? Locks don't require access, just an alt click. |
max_occupant_weight | Maximum weight of a mob that can be carried. This is calculated from the mob sizes of occupants |
max_occupants | Maximum number of mobs that can fit in a pet carrier, so you can't have infinite mice or something in one carrier |
occupant_weight | Combined weight of all mob occupants based on the MOB_SIZE_ defines. |
occupants | List of all mob occupants from inside of the pet carrier. |
open | Is the pet carrier open? Allows you to collect/remove pets. |
open_sound | Sound played when the mob carrier is opened. |
Var Details
allows_locking ![code/game/objects/items/pet_carrier.dm 29](git.png)
Does this carrier allow locking? Disabled for the small pet carrier.
close_sound ![code/game/objects/items/pet_carrier.dm 44](git.png)
Sound played when the mob carrier is closed.
locked ![code/game/objects/items/pet_carrier.dm 31](git.png)
Is this carrier locked? Locks don't require access, just an alt click.
max_occupant_weight ![code/game/objects/items/pet_carrier.dm 39](git.png)
Maximum weight of a mob that can be carried. This is calculated from the mob sizes of occupants
max_occupants ![code/game/objects/items/pet_carrier.dm 37](git.png)
Maximum number of mobs that can fit in a pet carrier, so you can't have infinite mice or something in one carrier
occupant_weight ![code/game/objects/items/pet_carrier.dm 35](git.png)
Combined weight of all mob occupants based on the MOB_SIZE_ defines.
occupants ![code/game/objects/items/pet_carrier.dm 33](git.png)
List of all mob occupants from inside of the pet carrier.
open ![code/game/objects/items/pet_carrier.dm 27](git.png)
Is the pet carrier open? Allows you to collect/remove pets.
open_sound ![code/game/objects/items/pet_carrier.dm 42](git.png)
Sound played when the mob carrier is opened.