mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Fixed map, finalized DNa and disabilities.
TODO: Add a tool in medbay that can convert any pair of glasses into prescription?
This commit is contained in:
@@ -19,10 +19,9 @@
|
||||
usr << "Your message has been broadcast to administrators."
|
||||
log_admin("HELP: [key_name(src)]: [msg]")
|
||||
|
||||
/* var/list/replacechars = list("'","\"",">","<","(",")")
|
||||
for(var/rep in replacechars)
|
||||
msg = dd_replacetext(msg, rep, "")
|
||||
world << msg*/
|
||||
var/list/replacechars = list("'" = "","\"" = "",">" = "","<" = "","(" = "",")" = "")
|
||||
msg = sanitize_simple(msg, replacechars)
|
||||
world << msg
|
||||
send2adminirc("#bs12admin","HELP: \"[src.key]: [msg]\"")
|
||||
if(tension_master)
|
||||
tension_master.new_adminhelp()
|
||||
|
||||
@@ -13,9 +13,12 @@
|
||||
origin_tech = "magnets=2;engineering=2"
|
||||
vision_flags = SEE_TURFS
|
||||
|
||||
prescription
|
||||
prescription = 1
|
||||
|
||||
/obj/item/clothing/glasses/science
|
||||
name = "Science Goggles"
|
||||
desc = "nothing"
|
||||
desc = "Used for !!SCIENCE!!"
|
||||
icon_state = "purple"
|
||||
item_state = "glasses"
|
||||
|
||||
@@ -57,6 +60,9 @@
|
||||
protective_temperature = 1300
|
||||
darkness_view = -1
|
||||
|
||||
prescription
|
||||
prescription = 1
|
||||
|
||||
/obj/item/clothing/glasses/sunglasses/big
|
||||
desc = "Strangely ancient technology used to help provide rudimentary eye cover. Larger than average enhanced shielding blocks many flashes."
|
||||
icon_state = "bigsunglasses"
|
||||
|
||||
@@ -232,11 +232,10 @@
|
||||
drop_item()
|
||||
spawn( 0 )
|
||||
emote("cough")
|
||||
return
|
||||
if (disabilities & 8)
|
||||
if ((prob(10) && paralysis <= 1 && r_Tourette < 1))
|
||||
if ((prob(5) && paralysis <= 1 && r_Tourette < 1))
|
||||
Stun(10)
|
||||
spawn( 0 )
|
||||
spawn(0)
|
||||
switch(rand(1, 3))
|
||||
if(1)
|
||||
emote("twitch")
|
||||
@@ -249,7 +248,6 @@
|
||||
sleep(2)
|
||||
pixel_x = old_x
|
||||
pixel_y = old_y
|
||||
return
|
||||
if (disabilities & 16)
|
||||
if (prob(10))
|
||||
stuttering = max(10, stuttering)
|
||||
@@ -1131,7 +1129,7 @@
|
||||
else
|
||||
blind.layer = 0
|
||||
|
||||
if (disabilities & 1 && ((glasses && !glasses.prescription) || !glasses))
|
||||
if ((disabilities & 1 && ((glasses && !glasses.prescription) || !glasses)) || (glasses && glasses.prescription && !(disabilities & 1)))
|
||||
client.screen += hud_used.vimpaired
|
||||
|
||||
if (eye_blurry)
|
||||
|
||||
@@ -700,7 +700,7 @@ datum/preferences
|
||||
if(disabilities & 4)
|
||||
usr << "Coughing"
|
||||
if(disabilities & 8)
|
||||
usr << "Twitchiness"
|
||||
usr << "Twitchiness/Tourettes (You must hate yourself)"
|
||||
if(disabilities & 16)
|
||||
usr << "Nervousness"
|
||||
if(disabilities & 32)
|
||||
|
||||
Reference in New Issue
Block a user