curse_of_hunger

curse of hunger component; for very hungry items.
Used as a rpgloot suffix and wizard spell!
Vars | |
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. |
hunger | counts time passed since it ate food |
poison_food_tolerance | how many times it needs to be fed poisoned food for it to drop off of you |
Procs | |
on_drop | signal called from dropping parent |
on_equip | signal called from equipping parent |
on_examine | signal called on parent being examined |
on_pickup | signal called from picking up parent |
on_unequip | signal called from a successful unequip of parent |
seek_new_target | proc called after a timer to awaken the AI in the cursed item if it doesn't have a target already. |
test | check hp poisoned food damages it no food found: it bites you and regains some poison food tolerance |
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.
hunger

counts time passed since it ate food
poison_food_tolerance

how many times it needs to be fed poisoned food for it to drop off of you
Proc Details
on_drop
signal called from dropping parent
on_equip
signal called from equipping parent
on_examine
signal called on parent being examined
on_pickup
signal called from picking up parent
on_unequip
signal called from a successful unequip of parent
seek_new_target
proc called after a timer to awaken the AI in the cursed item if it doesn't have a target already.
test
check hp poisoned food damages it no food found: it bites you and regains some poison food tolerance