Skip to content

Commit

Permalink
Merge pull request #8680 from MistakeNot4892/simpleanimal
Browse files Browse the repository at this point in the history
Removing references to non-existent type path.
  • Loading branch information
Atermonera authored Aug 16, 2022
2 parents 94cbe4d + 0a30302 commit c96fbfa
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
6 changes: 1 addition & 5 deletions code/__defines/dcs/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,6 @@
///called when removing a given item from a mob, from mob/living/carbon/remove_embedded_object(mob/living/carbon/target, /obj/item)
#define COMSIG_CARBON_EMBED_REMOVAL "item_embed_remove_safe"

// /mob/living/simple_animal/hostile signals
#define COMSIG_HOSTILE_ATTACKINGTARGET "hostile_attackingtarget"
#define COMPONENT_HOSTILE_NO_ATTACK (1<<0)

// /obj signals

///from base of obj/deconstruct(): (disassembled)
Expand Down Expand Up @@ -739,4 +735,4 @@
#define COMSIG_REAGENTS_CRAFTING_PING "reagents_crafting_ping"

//From reagents touch_x.
#define COMSIG_REAGENTS_TOUCH "reagent_touch"
#define COMSIG_REAGENTS_TOUCH "reagent_touch"
3 changes: 0 additions & 3 deletions code/game/gamemodes/events/holidays/Christmas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
for(var/turf/simulated/floor/T in orange(1,xmas))
for(var/i=1,i<=rand(1,5),i++)
new /obj/item/a_gift(T)
//for(var/mob/living/simple_animal/corgi/Ian/Ian in mob_list)
// Ian.place_on_head(new /obj/item/clothing/head/helmet/space/santahat(Ian))

/proc/ChristmasEvent()
for(var/obj/structure/flora/tree/pine/xmas in world)
Expand Down Expand Up @@ -57,4 +55,3 @@
flags_inv = 0
body_parts_covered = 0
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0)

8 changes: 0 additions & 8 deletions code/modules/mob/transform_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,6 @@
if(!MP)
return 0 //Sanity, this should never happen.

/*
if(ispath(MP, /mob/living/simple_animal/space_worm))
return 0 //Unfinished. Very buggy, they seem to just spawn additional space worms everywhere and eating your own tail results in new worms spawning.
*/

//Good mobs!
if(ispath(MP, /mob/living/simple_mob/animal/passive/cat))
return 1
Expand All @@ -327,6 +322,3 @@

//Not in here? Must be untested!
return 0



3 changes: 0 additions & 3 deletions code/modules/tgui/states/notcontained.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ GLOBAL_DATUM_INIT(tgui_notcontained_state, /datum/tgui_state/notcontained_state,

/mob/living/silicon/notcontained_can_use_tgui_topic(src_object)
return default_can_use_tgui_topic(src_object) // Silicons use default bevhavior.

/mob/living/simple_animal/drone/notcontained_can_use_tgui_topic(src_object)
return default_can_use_tgui_topic(src_object) // Drones use default bevhavior.

0 comments on commit c96fbfa

Please sign in to comment.