simple_animal ![code/modules/mob/living/simple_animal/simple_animal.dm 1](git.png)
Vars | |
AIStatus | The Status of our AI, can be set to AI_ON (On, usual processing), AI_IDLE (Will not process, but will return to AI_ON if an enemy comes near), AI_OFF (Off, Not processing ever), AI_Z_OFF (Temporarily off due to nonpresence of players). |
---|---|
access_card | Innate access uses an internal ID card. |
animal_species | Sorry, no spider+corgi buttbabies. |
armour_penetration | How much armour they ignore, as a flat reduction from the targets armour value. |
atmos_requirements | Atmos effect - Yes, you can make creatures that require plasma or co2 to survive. N2O is a trace gas and handled separately, hence why it isn't here. It'd be hard to add it. Hard and me don't mix (Yes, yes make all the dick jokes you want with that.) - Errorage |
attack_verb_continuous | Attacking verb in present continuous tense. |
attack_verb_simple | Attacking verb in present simple tense. |
attacked_sound | Played when someone punches the creature. |
blood_volume | How much blud it has for bloodsucking |
buffed | In the event that you want to have a buffing effect on the mob, but don't want it to stack with other effects, any outside force that applies a buff to a simple mob should at least set this to TRUE, so we have something to check against. |
can_have_ai | once we have become sentient, we can never go back. |
childtype | Hot simple_animal baby making vars. |
damage_coeff | 1 for full damage , 0 for none , -1 for 1:1 heal from that source. |
death_sound | The sound played on death. |
del_on_death | causes mob to be deleted on death, useful for mobs that spawn lootable corpses. |
dextrous | If the creature has, and can use, hands. |
emote_hear | Hearable emotes |
emote_see | Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps. |
environment_smash | Set to 1 to allow breaking of crates,lockers,racks,tables; 2 for walls; 3 for Rwalls. |
footstep_type | What kind of footstep this mob should have. Null if it shouldn't have any. |
force_threshold | Minimum force required to deal any damage. |
friendly_verb_continuous | Attacking, but without damage, verb in present continuous tense. |
friendly_verb_simple | Attacking, but without damage, verb in present simple tense. |
gold_core_spawnable | If the mob can be spawned with a gold slime core. HOSTILE_SPAWN are spawned with plasma, FRIENDLY_SPAWN are spawned with blood. |
healable | Healable by medical stacks? Defaults to yes. |
icon_dead | icon when the animal is dead. Don't use animated icons for this. |
icon_gib | We only try to show a gibbing animation if this exists. |
loot | list of things spawned at mob's loc when it dies. |
melee_damage_lower | LETTING SIMPLE ANIMALS ATTACK? WHAT COULD GO WRONG. Defaults to zero so Ian can still be cuddly. |
melee_damage_type | Damage type of a simple mob's melee attack, should it do damage. |
minbodytemp | Temperature effect. |
my_z | I don't want to confuse this with client registered_z. |
obj_damage | How much damage this simple animal does to objects, if any. |
response_disarm_continuous | Disarm-intent verb in present continuous tense. |
response_disarm_simple | Disarm-intent verb in present simple tense. |
response_harm_continuous | Harm-intent verb in present continuous tense. |
response_harm_simple | Harm-intent verb in present simple tense. |
response_help_continuous | When someone interacts with the simple animal. Help-intent verb in present continuous tense. |
response_help_simple | Help-intent verb in present simple tense. |
sentience_type | Sentience type, for slime potions. |
shouldwakeup | convenience var for forcibly waking up an idling AI on next check. |
speak_emote | Emotes while speaking IE: Ian [emote], [text] -- Ian barks, "WOOF!". Spoken text is generated from the speak variable. |
speed | LETS SEE IF I CAN SET SPEEDS FOR SIMPLE MOBS WITHOUT DESTROYING EVERYTHING. Higher speed is slower, negative speed is faster. |
stop_automated_movement | Use this to temporarely stop random movement or to if you write special movement code for animals. |
stop_automated_movement_when_pulled | When set to 1 this stops the animal from moving when someone is pulling it. |
tame | Domestication. |
unsuitable_atmos_damage | This damage is taken when atmos doesn't fit all the requirements above. |
wander | Does the mob wander around when idle? |
weather_immunities | List of weather immunity traits that are then added on Initialize(), see traits.dm. |
Var Details
AIStatus ![code/modules/mob/living/simple_animal/simple_animal.dm 134](git.png)
The Status of our AI, can be set to AI_ON (On, usual processing), AI_IDLE (Will not process, but will return to AI_ON if an enemy comes near), AI_OFF (Off, Not processing ever), AI_Z_OFF (Temporarily off due to nonpresence of players).
access_card ![code/modules/mob/living/simple_animal/simple_animal.dm 103](git.png)
Innate access uses an internal ID card.
animal_species ![code/modules/mob/living/simple_animal/simple_animal.dm 100](git.png)
Sorry, no spider+corgi buttbabies.
armour_penetration ![code/modules/mob/living/simple_animal/simple_animal.dm 76](git.png)
How much armour they ignore, as a flat reduction from the targets armour value.
atmos_requirements ![code/modules/mob/living/simple_animal/simple_animal.dm 66](git.png)
Atmos effect - Yes, you can make creatures that require plasma or co2 to survive. N2O is a trace gas and handled separately, hence why it isn't here. It'd be hard to add it. Hard and me don't mix (Yes, yes make all the dick jokes you want with that.) - Errorage
attack_verb_continuous ![code/modules/mob/living/simple_animal/simple_animal.dm 82](git.png)
Attacking verb in present continuous tense.
attack_verb_simple ![code/modules/mob/living/simple_animal/simple_animal.dm 84](git.png)
Attacking verb in present simple tense.
attacked_sound ![code/modules/mob/living/simple_animal/simple_animal.dm 127](git.png)
Played when someone punches the creature.
blood_volume ![code/modules/mob/living/simple_animal/simple_animal.dm 8](git.png)
How much blud it has for bloodsucking
buffed ![code/modules/mob/living/simple_animal/simple_animal.dm 105](git.png)
In the event that you want to have a buffing effect on the mob, but don't want it to stack with other effects, any outside force that applies a buff to a simple mob should at least set this to TRUE, so we have something to check against.
can_have_ai ![code/modules/mob/living/simple_animal/simple_animal.dm 136](git.png)
once we have become sentient, we can never go back.
childtype ![code/modules/mob/living/simple_animal/simple_animal.dm 97](git.png)
Hot simple_animal baby making vars.
damage_coeff ![code/modules/mob/living/simple_animal/simple_animal.dm 80](git.png)
1 for full damage , 0 for none , -1 for 1:1 heal from that source.
death_sound ![code/modules/mob/living/simple_animal/simple_animal.dm 120](git.png)
The sound played on death.
del_on_death ![code/modules/mob/living/simple_animal/simple_animal.dm 117](git.png)
causes mob to be deleted on death, useful for mobs that spawn lootable corpses.
dextrous ![code/modules/mob/living/simple_animal/simple_animal.dm 130](git.png)
If the creature has, and can use, hands.
emote_hear ![code/modules/mob/living/simple_animal/simple_animal.dm 25](git.png)
Hearable emotes
emote_see ![code/modules/mob/living/simple_animal/simple_animal.dm 27](git.png)
Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps.
environment_smash ![code/modules/mob/living/simple_animal/simple_animal.dm 91](git.png)
Set to 1 to allow breaking of crates,lockers,racks,tables; 2 for walls; 3 for Rwalls.
footstep_type ![code/modules/mob/living/simple_animal/simple_animal.dm 148](git.png)
What kind of footstep this mob should have. Null if it shouldn't have any.
force_threshold ![code/modules/mob/living/simple_animal/simple_animal.dm 53](git.png)
Minimum force required to deal any damage.
friendly_verb_continuous ![code/modules/mob/living/simple_animal/simple_animal.dm 87](git.png)
Attacking, but without damage, verb in present continuous tense.
friendly_verb_simple ![code/modules/mob/living/simple_animal/simple_animal.dm 89](git.png)
Attacking, but without damage, verb in present simple tense.
gold_core_spawnable ![code/modules/mob/living/simple_animal/simple_animal.dm 107](git.png)
If the mob can be spawned with a gold slime core. HOSTILE_SPAWN are spawned with plasma, FRIENDLY_SPAWN are spawned with blood.
healable ![code/modules/mob/living/simple_animal/simple_animal.dm 63](git.png)
Healable by medical stacks? Defaults to yes.
icon_dead ![code/modules/mob/living/simple_animal/simple_animal.dm 16](git.png)
icon when the animal is dead. Don't use animated icons for this.
icon_gib ![code/modules/mob/living/simple_animal/simple_animal.dm 18](git.png)
We only try to show a gibbing animation if this exists.
loot ![code/modules/mob/living/simple_animal/simple_animal.dm 115](git.png)
list of things spawned at mob's loc when it dies.
melee_damage_lower ![code/modules/mob/living/simple_animal/simple_animal.dm 71](git.png)
LETTING SIMPLE ANIMALS ATTACK? WHAT COULD GO WRONG. Defaults to zero so Ian can still be cuddly.
melee_damage_type ![code/modules/mob/living/simple_animal/simple_animal.dm 78](git.png)
Damage type of a simple mob's melee attack, should it do damage.
minbodytemp ![code/modules/mob/living/simple_animal/simple_animal.dm 56](git.png)
Temperature effect.
my_z ![code/modules/mob/living/simple_animal/simple_animal.dm 145](git.png)
I don't want to confuse this with client registered_z.
obj_damage ![code/modules/mob/living/simple_animal/simple_animal.dm 74](git.png)
How much damage this simple animal does to objects, if any.
response_disarm_continuous ![code/modules/mob/living/simple_animal/simple_animal.dm 44](git.png)
Disarm-intent verb in present continuous tense.
response_disarm_simple ![code/modules/mob/living/simple_animal/simple_animal.dm 46](git.png)
Disarm-intent verb in present simple tense.
response_harm_continuous ![code/modules/mob/living/simple_animal/simple_animal.dm 48](git.png)
Harm-intent verb in present continuous tense.
response_harm_simple ![code/modules/mob/living/simple_animal/simple_animal.dm 50](git.png)
Harm-intent verb in present simple tense.
response_help_continuous ![code/modules/mob/living/simple_animal/simple_animal.dm 40](git.png)
When someone interacts with the simple animal. Help-intent verb in present continuous tense.
response_help_simple ![code/modules/mob/living/simple_animal/simple_animal.dm 42](git.png)
Help-intent verb in present simple tense.
sentience_type ![code/modules/mob/living/simple_animal/simple_animal.dm 112](git.png)
Sentience type, for slime potions.
shouldwakeup ![code/modules/mob/living/simple_animal/simple_animal.dm 139](git.png)
convenience var for forcibly waking up an idling AI on next check.
speak_emote ![code/modules/mob/living/simple_animal/simple_animal.dm 22](git.png)
Emotes while speaking IE: Ian [emote], [text] -- Ian barks, "WOOF!". Spoken text is generated from the speak variable.
speed ![code/modules/mob/living/simple_animal/simple_animal.dm 94](git.png)
LETS SEE IF I CAN SET SPEEDS FOR SIMPLE MOBS WITHOUT DESTROYING EVERYTHING. Higher speed is slower, negative speed is faster.
stop_automated_movement ![code/modules/mob/living/simple_animal/simple_animal.dm 32](git.png)
Use this to temporarely stop random movement or to if you write special movement code for animals.
stop_automated_movement_when_pulled ![code/modules/mob/living/simple_animal/simple_animal.dm 36](git.png)
When set to 1 this stops the animal from moving when someone is pulling it.
tame ![code/modules/mob/living/simple_animal/simple_animal.dm 142](git.png)
Domestication.
unsuitable_atmos_damage ![code/modules/mob/living/simple_animal/simple_animal.dm 68](git.png)
This damage is taken when atmos doesn't fit all the requirements above.
wander ![code/modules/mob/living/simple_animal/simple_animal.dm 34](git.png)
Does the mob wander around when idle?
weather_immunities ![code/modules/mob/living/simple_animal/simple_animal.dm 60](git.png)
List of weather immunity traits that are then added on Initialize(), see traits.dm.