Skip to content

Commit

Permalink
fixes some abnos not returning an initialize() hint (#2096)
Browse files Browse the repository at this point in the history
le small fix
  • Loading branch information
Gboster-0 authored May 1, 2024
1 parent a8706c9 commit 26fd3bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ModularTegustation/tegu_items/refinery/crates/_crate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
var/cosmeticchance = 0 //These do not count on the total odds of a crate

/obj/structure/lootcrate/Initialize()
..()
. = ..()
if(SSmaptype.maptype in SSmaptype.citymaps) //Also can't drag it out to open it. Open it on spot, bitch
anchored = TRUE

/obj/structure/lootcrate/attackby(obj/item/I, mob/living/user, params)
..()
. = ..()
var/loot
var/cloot
if(I.tool_behaviour != TOOL_CROWBAR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
. = ..()
GLOB.abnormality_mob_list -= src

/mob/living/simple_animal/hostile/abnormality/Move()
/mob/living/simple_animal/hostile/abnormality/Move(turf/newloc, dir, step_x, step_y)
if(IsContained()) // STOP STEALING MY FREAKING ABNORMALITIES
return FALSE
return ..()
Expand Down Expand Up @@ -185,7 +185,6 @@
datum_reference.console.chem_charges -= 1
var/obj/item/reagent_containers/my_container = O
HarvestChem(my_container, user)
return

/mob/living/simple_animal/hostile/abnormality/can_track(mob/living/user)
if((status_flags & GODMODE))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
var/f2 //Filter 2, Rays filter

/obj/structure/toolabnormality/realization/Initialize()
..()
. = ..()
bough = new/obj/effect/golden_bough(src)

//Filter 1 gets applied to the bough
Expand All @@ -84,7 +84,7 @@

/obj/structure/toolabnormality/realization/Destroy()
qdel(bough)
..()
return ..()

/obj/structure/toolabnormality/realization/proc/FilterLoop(loop_stage) //Takes a numeric argument for advancing the loop's stage in a cycle (1 > 2 > 3 > 1 > ...)
if(filters[filters.len]) // Stops the loop if we have no filters to animate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ It has now been over four months. Now we get her for real. -Coxswain
return

/mob/living/simple_animal/hostile/abnormality/red_hood/Initialize()
..()
. = ..()
if(IsCombatMap())
faction |= "hostile"
RegisterSignal(SSdcs, COMSIG_GLOB_ABNORMALITY_BREACH, PROC_REF(OnAbnoBreach))
Expand Down

0 comments on commit 26fd3bf

Please sign in to comment.