mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-22 20:26:47 +01:00
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
22 lines
701 B
Plaintext
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
|
|
..()
|