mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
players touching an artifact with gloves will now receive a feedback message
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -224,7 +224,8 @@ var/list/valid_secondary_effect_types = list(\
|
|||||||
user << "\red You can't reach [src] from here."
|
user << "\red You can't reach [src] from here."
|
||||||
return
|
return
|
||||||
if(ishuman(user) && user:gloves)
|
if(ishuman(user) && user:gloves)
|
||||||
return ..()
|
user << "<b>You touch [src]</b> with your gloved hands, [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")]."
|
||||||
|
return
|
||||||
|
|
||||||
src.add_fingerprint(user)
|
src.add_fingerprint(user)
|
||||||
|
|
||||||
@@ -234,7 +235,7 @@ var/list/valid_secondary_effect_types = list(\
|
|||||||
else
|
else
|
||||||
user << "<b>You touch [src],</b> [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")]."
|
user << "<b>You touch [src],</b> [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")]."
|
||||||
|
|
||||||
if(prob(25) && secondary_effect && secondary_effect.trigger == my_effect.trigger)
|
if(prob(25) && secondary_effect && secondary_effect.trigger == TRIGGER_TOUCH)
|
||||||
secondary_effect.ToggleActivate(0)
|
secondary_effect.ToggleActivate(0)
|
||||||
|
|
||||||
if (my_effect.effect == EFFECT_TOUCH)
|
if (my_effect.effect == EFFECT_TOUCH)
|
||||||
|
|||||||
Reference in New Issue
Block a user