mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Merge pull request #1898 from Markolie/wheelchair
Allow for the construction of wheel chairs
This commit is contained in:
@@ -241,8 +241,15 @@
|
||||
|
||||
else if(istype(user, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(!isnull(H.internal_organs_by_name["cell"]))
|
||||
can_accept_user = 1
|
||||
|
||||
if(H.stat == DEAD)
|
||||
return
|
||||
if(occupant)
|
||||
H << "<span class='warning'>The cell is already occupied!</span>"
|
||||
return
|
||||
if(isnull(H.internal_organs_by_name["cell"]))
|
||||
return
|
||||
can_accept_user = 1
|
||||
|
||||
if(!can_accept_user)
|
||||
user << "<span class='notice'>Only non-organics may enter the recharger!</span>"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
var/global/list/datum/stack_recipe/metal_recipes = list ( \
|
||||
new/datum/stack_recipe("stool", /obj/structure/stool, one_per_turf = 1, on_floor = 1), \
|
||||
new/datum/stack_recipe("chair", /obj/structure/stool/bed/chair, one_per_turf = 1, on_floor = 1), \
|
||||
new/datum/stack_recipe("wheelchair", /obj/structure/stool/bed/chair/wheelchair, 15, one_per_turf = 1, on_floor = 1), \
|
||||
new/datum/stack_recipe("bed", /obj/structure/stool/bed, 2, one_per_turf = 1, on_floor = 1), \
|
||||
null, \
|
||||
new/datum/stack_recipe_list("office chairs",list( \
|
||||
|
||||
Reference in New Issue
Block a user