/tg/ Station 13 - Modules - TypesVar Details - Proc Details

food_storage

--Food storage component-- This component lets you slide one item into large foods, such as bread, cheese wheels, or cakes. Consuming food storages with an item inside can cause unique interactions, such as eating glass shards.

Vars

bad_chance_of_discoveryWhat are the odds we bite into the stored item?
good_chance_of_discoveryWhat are the odds we see the stored item before we bite it?
initial_volumeThe amount of volume the food has on creation - Used for probabilities
minimum_weight_classMinimum size items that can be inserted
stored_itemReference to what we have in our food.

Procs

begin_remove_item
consume_food_storage
insert_item
on_requesting_context_from_itemAdds context sensitivy directly to the processable file for screentips Arguments:
remove_itemRemoves the stored item, putting it in user's hands or on the ground, then updates the reference.
storage_consumedWhen fully consumed, just drop the item out on the ground.
try_inserting_item
try_removing_item
update_stored_item

Var Details

bad_chance_of_discovery

What are the odds we bite into the stored item?

good_chance_of_discovery

What are the odds we see the stored item before we bite it?

initial_volume

The amount of volume the food has on creation - Used for probabilities

minimum_weight_class

Minimum size items that can be inserted

stored_item

Reference to what we have in our food.

Proc Details

begin_remove_item

consume_food_storage

insert_item

on_requesting_context_from_item

Adds context sensitivy directly to the processable file for screentips Arguments:

remove_item

Removes the stored item, putting it in user's hands or on the ground, then updates the reference.

storage_consumed

When fully consumed, just drop the item out on the ground.

try_inserting_item

try_removing_item

update_stored_item