Daedalus Dock - Modules - TypesVar Details - Proc Details

ooze

Oozes are slime-esque creatures, they are highly gluttonous creatures primarily intended for player controll.

Vars

edible_food_typesBitfield of edible food types
ooze_nutritionOozes have their own nutrition. Changes based on them eating

Procs

LifeHandles nutrition gain/loss of mob and also makes it take damage if it's too low on nutrition, only happens for sentient mobs.
adjust_ooze_nutritionDoes ooze_nutrition + supplied amount and clamps it within 0 and 500
eat_atomTries to transfer the atoms reagents then delete it
updateNutritionDisplayUpdates the display that shows the mobs nutrition

Var Details

edible_food_types

Bitfield of edible food types

ooze_nutrition

Oozes have their own nutrition. Changes based on them eating

Proc Details

Life

Handles nutrition gain/loss of mob and also makes it take damage if it's too low on nutrition, only happens for sentient mobs.

adjust_ooze_nutrition

Does ooze_nutrition + supplied amount and clamps it within 0 and 500

eat_atom

Tries to transfer the atoms reagents then delete it

updateNutritionDisplay

Updates the display that shows the mobs nutrition