reagentgrinder
Vars | |
beaker | The beaker to hold the final products |
---|---|
maximum_weight | The maximum weight of items this grinder can hold |
operating | Is the grinder currently performing work |
speed | How fast operations take place |
Procs | |
check_interactable | Checks if the radial menu can interact with this machine Arguments |
load_items | Transfer this item or items inside if its a bag into the grinder Arguments |
mix | Mixes the reagents inside the beaker Arguments |
mix_complete | Mix the reagents Arguments |
operate_for | Grinds/Juices all contents inside the grinder Arguments |
replace_beaker | Inserts, removes or replaces the beaker present Arguments |
stop_operating | Reset the operating status of the machine |
Var Details
beaker
The beaker to hold the final products
maximum_weight
The maximum weight of items this grinder can hold
operating
Is the grinder currently performing work
speed
How fast operations take place
Proc Details
check_interactable
Checks if the radial menu can interact with this machine Arguments
- mob/user - the player interacting with this machine
load_items
Transfer this item or items inside if its a bag into the grinder Arguments
- mob/user - the player who is inserting these items
- list/obj/item/to_add - list of items to add
mix
Mixes the reagents inside the beaker Arguments
- time - the length of time in deciseconds to operate
- mob/user - the player who started the mixing process
mix_complete
Mix the reagents Arguments
- duration - the time spent in mixing
operate_for
Grinds/Juices all contents inside the grinder Arguments
- time - the duration in deciseconds to perform the operation
- juicing - FALSE to grind, TRUE to juice
- mob/user - the player who initiated this process
replace_beaker
Inserts, removes or replaces the beaker present Arguments
- mob/living/user - the player performing the action
- obj/item/reagent_containers/new_beaker - the new beaker to replace the old, null to do nothing
stop_operating
Reset the operating status of the machine