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:
Cael_Aislinn
2013-03-10 18:32:06 +10:00
parent 88c17b75b6
commit 28ab7d4e90

View File

@@ -224,7 +224,8 @@ var/list/valid_secondary_effect_types = list(\
user << "\red You can't reach [src] from here."
return
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)
@@ -234,7 +235,7 @@ var/list/valid_secondary_effect_types = list(\
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")]."
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)
if (my_effect.effect == EFFECT_TOUCH)