Files
Darius ad0239b5de Replace all modular HTML spans with defines spans
In total:
- Adds span defines for `reallybig hypnophrase`, `big warning`, `header`
- Fixes a missing apostrophe for hypno stare
- Makes a special exception for cuddling.dm, which uses an irregular span
- Puts the spans file back
2023-01-16 04:05:27 -05:00

22 lines
701 B
Plaintext

//Academy Items
/obj/item/dice/d20/fate
var/list/used_fingerprints = null // Used to track who used the one_use die
/obj/item/dice/d20/fate/one_use
reusable = 1 // Obsolete by the used_fingerprints list
/obj/item/dice/d20/fate/effect(var/mob/living/carbon/human/user,roll)
// This override checks if a user has rolled the dice
// If true; Reject them and abort
if (user in used_fingerprints)
// Send a message implying someone else should roll
visible_message(span_notice("[user] rolls the dice, but it doesn't respond to [user.p_them()] again."))
return
// If false; Add them to the user list and continue
else
LAZYADD(used_fingerprints, user)
// Run the function normally
..()