New ghost verb: Become Space Hobo (#29808)

* Basis of this job

* The hideout

* More stuff

* Walling

* Start landmarks and APC

* .dme check

* Generation code

* Adding to init

* Tweak for later

* This is needed to compile

* Moving this here to see what it does

* Oh I got the filename wrong

* Saving it like this, maybe now it'll work

* Maybe this will help

* Oh right. Testing for box anyways

* And everywhere else too

* Shack tweaks

* Reformatting this

* Oh it's like this

* Starting tweaks

* And more

* Midround stuff

* Locking it from observers, ideally

* Removing more unused things

* More species

* Typo

* Config stuff

* Safe tweak

* Gives own ID type

* Tajaran outfit

* Redoing shack generation

Co-authored-by: kanef <kanef9x@protonmail.com>
This commit is contained in:
kane-f
2021-06-23 23:47:02 +01:00
committed by GitHub
parent 89123d5bab
commit d00a03e146
14 changed files with 209 additions and 1 deletions

View File

@@ -95,6 +95,13 @@
message_admins("<span class='info'>Loaded [result] out of [surprise_number] mining surprises.</span>")
/proc/generate_hoboshack()
var/list/list_of_shacks = get_map_element_objects(/datum/map_element/hoboshack)
var/result = populate_area_with_vaults(/area/mine/unexplored, list_of_shacks, 1, filter_function=/proc/asteroid_can_be_placed)
message_admins("<span class='info'>Loaded space hobo shack [result ? "" : "un"]successfully.</span>")
/proc/asteroid_can_be_placed(var/datum/map_element/E, var/turf/start_turf)
var/list/dimensions = E.get_dimensions()
var/result = check_complex_placement(start_turf,dimensions[1], dimensions[2])