Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/curse_of_hunger

curse of hunger component; for very hungry items.

Used as a rpgloot suffix and wizard spell!

Vars

add_dropdelwhether to add dropdel to the item with curse of hunger, used for temporary curses like the wizard duffelbags
awakeneditems given the curse of hunger will not seek out someone else to latch onto until they are dropped for the first time.
current_healthThe bag's current "health". IE, how many more times you need to poison it to stop it.
hungercounts time passed since it ate food
max_healthThe bag's max "health". IE, how many times you need to poison it.

Procs

on_dropsignal called from dropping parent
on_equipsignal called from equipping parent
on_examinesignal called on parent being examined
seek_new_targetproc called after a timer to awaken the AI in the cursed item if it doesn't have a target already.

Var Details

add_dropdel

whether to add dropdel to the item with curse of hunger, used for temporary curses like the wizard duffelbags

awakened

items given the curse of hunger will not seek out someone else to latch onto until they are dropped for the first time.

current_health

The bag's current "health". IE, how many more times you need to poison it to stop it.

hunger

counts time passed since it ate food

max_health

The bag's max "health". IE, how many times you need to poison it.

Proc Details

on_drop

signal called from dropping parent

on_equip

signal called from equipping parent

on_examine

signal called on parent being examined

seek_new_target

proc called after a timer to awaken the AI in the cursed item if it doesn't have a target already.