plate 
Vars | |
| can_headsmash | Can this smash someone on the head? |
|---|---|
| food_inside | Used to track all the non-plate items inside the plate |
| grabs_food_on_spawn | For mapping overrides- should this plate automatically place food on the same tile on it? |
| hit_sound | The sound which is played when you plate someone on help intent, tapping them |
| initial_foods | |
| is_plate | Will separate what we can put into plates/pizza boxes or not |
| plate_stacked | Do we have a plate stacked on us? |
| space_left | Used to measure what you can fit on the plate before it gets full |
| stackable | Can this be stacked with other stackable plates? |
| throw_dist | The amount the plate contents are thrown when this plate is dropped or thrown |
Procs | |
| add_contents | Attempts to add an item to the plate, if there's space. Returns TRUE if food is successfully added. |
| indirect_pickup | Handles food being dragged around |
| remove_contents | Removes a piece of food from the plate. |
| shatter | The plate shatters into shards and tosses its contents around. |
| shit_goes_everywhere | Called when you throw or smash the plate, throwing the contents everywhere |
| unique_attack_garbage_fuck | Used to smash the plate over someone's head |
Var Details
can_headsmash 
Can this smash someone on the head?
food_inside 
Used to track all the non-plate items inside the plate
grabs_food_on_spawn 
For mapping overrides- should this plate automatically place food on the same tile on it?
hit_sound 
The sound which is played when you plate someone on help intent, tapping them
initial_foods 
- List of types of initial food on this plate; added and positioned in New(). Can be associative. For subtypes for mapping.
- Will runtime if the food doesn't fit.
- Ex: list(/obj/item/reagent_containers/food/snacks/plant/peach = 2, /obj/item/reagent_containers/food/snacks/plant/apple)
- [2 peaches and 1 apple]
is_plate 
Will separate what we can put into plates/pizza boxes or not
plate_stacked 
Do we have a plate stacked on us?
space_left 
Used to measure what you can fit on the plate before it gets full
stackable 
Can this be stacked with other stackable plates?
throw_dist 
The amount the plate contents are thrown when this plate is dropped or thrown
Proc Details
add_contents
Attempts to add an item to the plate, if there's space. Returns TRUE if food is successfully added.
indirect_pickup
Handles food being dragged around
remove_contents
Removes a piece of food from the plate.
shatter
The plate shatters into shards and tosses its contents around.
shit_goes_everywhere
Called when you throw or smash the plate, throwing the contents everywhere
unique_attack_garbage_fuck
Used to smash the plate over someone's head