mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems
Conflicts: code/game/gamemodes/setupgame.dm code/modules/mob/living/carbon/human/life.dm code/modules/reagents/Chemistry-Machinery.dm
This commit is contained in:
@@ -68,9 +68,13 @@
|
||||
|
||||
if(usr.stat || !usr.canmove || usr.restrained())
|
||||
return
|
||||
if((CLUMSY in usr.mutations) && prob(25))
|
||||
usr << "<span class='warning'>You cut yourself on the paper! Ahhhh! Ahhhhh!</span>"
|
||||
usr.damageoverlaytemp = 9001
|
||||
|
||||
if(!ishuman(usr))
|
||||
return
|
||||
var/mob/living/carbon/human/H = usr
|
||||
if(H.disabilities & CLUMSY && prob(25))
|
||||
H << "<span class='warning'>You cut yourself on the paper! Ahhhh! Ahhhhh!</span>"
|
||||
H.damageoverlaytemp = 9001
|
||||
return
|
||||
var/n_name = copytext(sanitize(input(usr, "What would you like to label the paper?", "Paper Labelling", null) as text), 1, MAX_NAME_LEN)
|
||||
if((loc == usr && usr.stat == 0))
|
||||
@@ -263,14 +267,14 @@
|
||||
update_icon()
|
||||
|
||||
|
||||
/obj/item/weapon/paper/attackby(obj/item/weapon/P, mob/user)
|
||||
/obj/item/weapon/paper/attackby(obj/item/weapon/P, mob/living/carbon/human/user)
|
||||
..()
|
||||
|
||||
if(is_blind(user))
|
||||
return
|
||||
|
||||
var/clown = 0
|
||||
if(user && (CLUMSY in user.mutations))
|
||||
if(user.disabilities & CLUMSY)
|
||||
clown = 1
|
||||
|
||||
if(istype(P, /obj/item/weapon/pen) || istype(P, /obj/item/toy/crayon))
|
||||
|
||||
Reference in New Issue
Block a user