mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Removes a lot of redefined procs (#26186)
* aaaaaaaaaaaaaaa * Forgor * Adds missing /proc/ --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -42,6 +42,16 @@
|
||||
|
||||
/client/vv_edit_var(var_name, var_value) //called whenever a var is edited
|
||||
switch(var_name)
|
||||
// I know we will never be in a world where admins are editing client vars to let people bypass TOS
|
||||
// But guess what, if I have the ability to overengineer something, I am going to do it
|
||||
if("tos_consent")
|
||||
return FALSE
|
||||
// Dont fuck with this
|
||||
if("cui_entries")
|
||||
return FALSE
|
||||
// or this
|
||||
if("jbh")
|
||||
return FALSE
|
||||
if("vars")
|
||||
return FALSE
|
||||
if("var_edited")
|
||||
|
||||
@@ -54,7 +54,7 @@ BONUS
|
||||
transmittable = 3
|
||||
level = 3
|
||||
|
||||
/datum/symptom/viraladaptation/Activate(datum/disease/advance/A)
|
||||
/datum/symptom/viralevolution/Activate(datum/disease/advance/A)
|
||||
..()
|
||||
if(prob(SYMPTOM_ACTIVATION_PROB))
|
||||
var/mob/living/M = A.affected_mob
|
||||
|
||||
@@ -20,6 +20,8 @@ GLOBAL_LIST_INIT(spells, typesof(/datum/spell))
|
||||
user.ranged_ability.remove_ranged_ability(user)
|
||||
return TRUE //TRUE for failed, FALSE for passed.
|
||||
user.face_atom(A)
|
||||
if(targeting)
|
||||
targeting.InterceptClickOn(user, params, A, src)
|
||||
return FALSE
|
||||
|
||||
/datum/spell/proc/add_ranged_ability(mob/user, msg)
|
||||
@@ -269,13 +271,6 @@ GLOBAL_LIST_INIT(spells, typesof(/datum/spell))
|
||||
/datum/spell/proc/AltClick(mob/user)
|
||||
return Click()
|
||||
|
||||
/datum/spell/InterceptClickOn(mob/user, params, atom/A)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
if(targeting)
|
||||
targeting.InterceptClickOn(user, params, A, src)
|
||||
|
||||
///Lets the spell have a special effect applied to it when upgraded. By default, does nothing.
|
||||
/datum/spell/proc/on_purchase_upgrade()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user