mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-02 13:42:32 +00:00
Chemicals now react in mobs, old reaching restrictions, fixed a give bug, tried to fix a resting bug.
This commit is contained in:
@@ -46,9 +46,9 @@ mob/living/carbon/verb/give()
|
||||
I.layer = 20
|
||||
I.add_fingerprint(src)
|
||||
src.update_clothing()
|
||||
src.visible_message(src,"[usr.name] handed \the [I.name] to [src.name].")
|
||||
src.visible_message("[usr.name] handed \the [I.name] to [src.name].")
|
||||
if("No")
|
||||
src.visible_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.")
|
||||
src.visible_message("[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.")
|
||||
else if(src.l_hand == null)
|
||||
switch(alert(src,"[src.name] wants to give you \a [I.name]?",,"Yes","No"))
|
||||
if("Yes")
|
||||
@@ -75,8 +75,8 @@ mob/living/carbon/verb/give()
|
||||
I.layer = 20
|
||||
I.add_fingerprint(src)
|
||||
src.update_clothing()
|
||||
src.visible_message(src,"[usr.name] handed \the [I.name] to [src.name].")
|
||||
src.visible_message("[usr.name] handed \the [I.name] to [src.name].")
|
||||
if("No")
|
||||
src.visible_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.")
|
||||
src.visible_message("[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.")
|
||||
else
|
||||
usr << "[src.name]\s hands are full."
|
||||
@@ -421,7 +421,7 @@
|
||||
usr.sleeping = 1
|
||||
usr.sleeping_willingly = 1
|
||||
if("rest")
|
||||
usr.resting = !( usr.resting )
|
||||
usr.resting = !usr.resting
|
||||
if("throw")
|
||||
if (!usr.stat && isturf(usr.loc) && !usr.restrained())
|
||||
usr:toggle_throw_mode()
|
||||
|
||||
Reference in New Issue
Block a user