mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Allows players to create areas without paper. (#7036)
This commit is contained in:
@@ -58,4 +58,19 @@
|
|||||||
if(isnull(resting_dir))
|
if(isnull(resting_dir))
|
||||||
resting_dir = FALSE
|
resting_dir = FALSE
|
||||||
resting_dir = !resting_dir
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user