mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Remove reagent ids and use typepaths where applicable (#44166)
cl Naksu code: reagent IDs have been removed in favor using reagent typepaths where applicable fix: mechas, borg hyposprays etc no longer display internal reagent ids to the player /cl
This commit is contained in:
committed by
oranges
parent
c0ac2ca6b8
commit
6a106bc877
@@ -323,14 +323,13 @@ GLOBAL_LIST(cachedbooks) // List of our cached book datums
|
||||
return null
|
||||
|
||||
/obj/machinery/computer/libraryconsole/bookmanagement/proc/print_forbidden_lore(mob/user)
|
||||
var/spook = pick("blood", "brass")
|
||||
var/turf/T = get_turf(src)
|
||||
if(spook == "blood")
|
||||
new /obj/item/melee/cultblade/dagger(T)
|
||||
if (prob(50))
|
||||
new /obj/item/melee/cultblade/dagger(get_turf(src))
|
||||
to_chat(user, "<span class='warning'>Your sanity barely endures the seconds spent in the vault's browsing window. The only thing to remind you of this when you stop browsing is a sinister dagger sitting on the desk. You don't even remember where it came from...</span>")
|
||||
else
|
||||
new /obj/item/clockwork/slab(T)
|
||||
new /obj/item/clockwork/slab(get_turf(src))
|
||||
to_chat(user, "<span class='warning'>Your sanity barely endures the seconds spent in the vault's browsing window. The only thing to remind you of this when you stop browsing is a strange metal tablet sitting on the desk. You don't even remember where it came from...</span>")
|
||||
|
||||
to_chat(user, "<span class='warning'>Your sanity barely endures the seconds spent in the vault's browsing window. The only thing to remind you of this when you stop browsing is a [spook == "blood" ? "sinister dagger" : "strange metal tablet"] sitting on the desk. You don't even remember where it came from...</span>")
|
||||
user.visible_message("[user] stares at the blank screen for a few moments, [user.p_their()] expression frozen in fear. When [user.p_they()] finally awaken[user.p_s()] from it, [user.p_they()] look[user.p_s()] a lot older.", 2)
|
||||
|
||||
/obj/machinery/computer/libraryconsole/bookmanagement/attackby(obj/item/W, mob/user, params)
|
||||
|
||||
Reference in New Issue
Block a user