mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Misc.
This commit is contained in:
@@ -14,8 +14,7 @@
|
|||||||
return -1
|
return -1
|
||||||
|
|
||||||
/turf/simulated/Destroy()
|
/turf/simulated/Destroy()
|
||||||
if(ticker)
|
updateVisibility(src)
|
||||||
updateVisibility(src)
|
|
||||||
..()
|
..()
|
||||||
|
|
||||||
/turf/simulated/New()
|
/turf/simulated/New()
|
||||||
@@ -26,19 +25,16 @@
|
|||||||
// STRUCTURES
|
// STRUCTURES
|
||||||
|
|
||||||
/obj/structure/Destroy()
|
/obj/structure/Destroy()
|
||||||
if(ticker)
|
updateVisibility(src)
|
||||||
updateVisibility(src)
|
|
||||||
..()
|
..()
|
||||||
|
|
||||||
/obj/structure/New()
|
/obj/structure/New()
|
||||||
..()
|
|
||||||
updateVisibility(src)
|
updateVisibility(src)
|
||||||
|
|
||||||
// EFFECTS
|
// EFFECTS
|
||||||
|
|
||||||
/obj/effect/Destroy()
|
/obj/effect/Destroy()
|
||||||
if(ticker)
|
updateVisibility(src)
|
||||||
updateVisibility(src)
|
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/effect/New()
|
/obj/effect/New()
|
||||||
|
|||||||
@@ -303,7 +303,6 @@
|
|||||||
if(loc == get_turf(original))
|
if(loc == get_turf(original))
|
||||||
if(!(original in permutated))
|
if(!(original in permutated))
|
||||||
if(Bump(original))
|
if(Bump(original))
|
||||||
qdel(src)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if(first_step)
|
if(first_step)
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
|
|||||||
/spell/proc/cast_check(skipcharge = 0,mob/user = usr) //checks if the spell can be cast based on its settings; skipcharge is used when an additional cast_check is called inside the spell
|
/spell/proc/cast_check(skipcharge = 0,mob/user = usr) //checks if the spell can be cast based on its settings; skipcharge is used when an additional cast_check is called inside the spell
|
||||||
|
|
||||||
if(!(src in user.spell_list) && holder == user)
|
if(!(src in user.spell_list) && holder == user)
|
||||||
|
error("[user] utilized the spell '[src]' without having it.")
|
||||||
user << "<span class='warning'>You shouldn't have this spell! Something's wrong.</span>"
|
user << "<span class='warning'>You shouldn't have this spell! Something's wrong.</span>"
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user