Allows players to create areas without paper. (#7036)

This commit is contained in:
tacoguy7765093
2023-09-26 09:29:58 -05:00
committed by GitHub
parent 507879aef8
commit 359762902f

View File

@@ -58,4 +58,19 @@
if(isnull(resting_dir))
resting_dir = FALSE
resting_dir = !resting_dir
update_transform(TRUE)
update_transform(TRUE)
//Formally used from a paper, gave this to everyone.
/mob/living/carbon/human/verb/create_area()
set name = "Create Area"
set desc = "Create an area in a enclosed space, making it able to be powered by an APC."
set category = "IC"
if(stat || world.time < last_special)
to_chat(usr, "<span class='warning'>You recently tried to create an area. Wait a while before using it again.</span>")
return
last_special = world.time + 2 SECONDS // Antispam.
create_new_area(usr)
return