From 955831197a5280052e91ff1cebbf45f0d77b22e3 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Thu, 28 Feb 2019 12:58:38 +0100 Subject: [PATCH] Piranha Plant Movement update. Decided to swap to a new form of mob movement for this mob. The idea to deny movement was dropped, new idea is that they dont wander and only move to attack and attempt to return to the place they were deeded at. Territorial plants --- .../mob/living/simple_animal/animals/tomato.dm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/animals/tomato.dm b/code/modules/mob/living/simple_animal/animals/tomato.dm index cae7050c78..0c9725cf98 100644 --- a/code/modules/mob/living/simple_animal/animals/tomato.dm +++ b/code/modules/mob/living/simple_animal/animals/tomato.dm @@ -39,8 +39,8 @@ melee_damage_upper = 1 melee_damage_lower = 1 attacktext = list("chomped","bit","hompfed","crunched","cronched") - anchored =1 meat_type = null + //Vore stuff vore_active = 1 vore_capacity = 1 @@ -54,5 +54,13 @@ vore_icons = 0 //no vore icons swallowTime = 10 SECONDS //CHOMPED + //Movement Stuff + wander = 0 // Does the mob wander around when idle? + wander_distance = 0 // How far the mob will wander before going home (assuming they are allowed to do that) + returns_home = 1 // Mob knows how to return to wherever it started + turns_per_move = 1 // How many life() cycles to wait between each wander mov? + stop_when_pulled = 0 // When set to 1 this stops the animal from moving when someone is pulling it. + follow_dist = 2 // Distance the mob tries to follow a friend + speed = 4 // Higher speed is slower, negative speed is faster. + //When I stop being lazy I'll give this its own file -Shark -//Chompeddit end