00043330a0
About The Pull Request This pr adds in a new lavaland boss in a seperate z level arena also included are goat plushies that ram into people and goat skins which you get by butchering goats and can wear on your head, a goat gun that shoots goats and finally multiple tweaks/fixes generally involving possible ways to teleport out of noteleport area and or cheese the king goat. Why It's Good For The Game Lavaland has not seen any new bosses for a long bloody time and although the boss may be a bit silly I feel more hardcore players will enjoy the challenge it brings since this is meant to be a very hard boss also new goat related items are always neat. 🆑 Fluffe9911 for porting/making most of it, Monster and Sabiran for the King Goat! add: A new king goat lavaland boss! add: Goats now drop skin which you can wear on your head! (coder sprite) add: Goat themed plushies that ram people! (realistic version sprite by identification code by karma) /🆑 goat This is ported over from my work on yogstation with minor changes mostly to make things work there is more goat content I made but didnt wanna do too much at once and dont know if tg would like it
79 lines
2.8 KiB
Plaintext
79 lines
2.8 KiB
Plaintext
/datum/map_template/shelter
|
|
var/shelter_id
|
|
var/description
|
|
var/blacklisted_turfs
|
|
var/whitelisted_turfs
|
|
var/banned_areas
|
|
var/banned_objects
|
|
|
|
/datum/map_template/shelter/New()
|
|
. = ..()
|
|
blacklisted_turfs = typecacheof(/turf/closed)
|
|
whitelisted_turfs = list()
|
|
banned_areas = typecacheof(/area/shuttle)
|
|
banned_objects = list()
|
|
|
|
/datum/map_template/shelter/proc/check_deploy(turf/deploy_location)
|
|
var/affected = get_affected_turfs(deploy_location, centered=TRUE)
|
|
for(var/turf/T in affected)
|
|
var/area/A = get_area(T)
|
|
if(is_type_in_typecache(A, banned_areas))
|
|
return SHELTER_DEPLOY_BAD_AREA
|
|
|
|
var/banned = is_type_in_typecache(T, blacklisted_turfs)
|
|
var/permitted = is_type_in_typecache(T, whitelisted_turfs)
|
|
if(banned && !permitted)
|
|
return SHELTER_DEPLOY_BAD_TURFS
|
|
|
|
for(var/obj/O in T)
|
|
if((O.density && O.anchored) || is_type_in_typecache(O, banned_objects))
|
|
return SHELTER_DEPLOY_ANCHORED_OBJECTS
|
|
return SHELTER_DEPLOY_ALLOWED
|
|
|
|
/datum/map_template/shelter/alpha
|
|
name = "Shelter Alpha"
|
|
shelter_id = "shelter_alpha"
|
|
description = "A cosy self-contained pressurized shelter, with \
|
|
built-in navigation, entertainment, medical facilities and a \
|
|
sleeping area! Order now, and we'll throw in a TINY FAN, \
|
|
absolutely free!"
|
|
mappath = "_maps/templates/shelter_1.dmm"
|
|
|
|
/datum/map_template/shelter/alpha/New()
|
|
. = ..()
|
|
blacklisted_turfs = typecacheof(/turf/open/indestructible) //yogs added indestructible floors to the shelter black list
|
|
whitelisted_turfs = typecacheof(/turf/closed/mineral)
|
|
banned_objects = typecacheof(/obj/structure/stone_tile)
|
|
|
|
/datum/map_template/shelter/beta
|
|
name = "Shelter Beta"
|
|
shelter_id = "shelter_beta"
|
|
description = "An extremely luxurious shelter, containing all \
|
|
the amenities of home, including carpeted floors, hot and cold \
|
|
running water, a gourmet three course meal, cooking facilities, \
|
|
and a deluxe companion to keep you from getting lonely during \
|
|
an ash storm."
|
|
mappath = "_maps/templates/shelter_2.dmm"
|
|
|
|
/datum/map_template/shelter/beta/New()
|
|
. = ..()
|
|
blacklisted_turfs = typecacheof(/turf/open/indestructible)
|
|
whitelisted_turfs = typecacheof(/turf/closed/mineral)
|
|
banned_objects = typecacheof(/obj/structure/stone_tile)
|
|
|
|
/datum/map_template/shelter/charlie
|
|
name = "Shelter Charlie"
|
|
shelter_id = "shelter_charlie"
|
|
description = "A luxury elite bar which holds an entire bar \
|
|
along with two vending machines, tables, and a restroom that \
|
|
also has a sink. This isn't a survival capsule and so you can \
|
|
expect that this won't save you if you're bleeding out to \
|
|
death."
|
|
mappath = "_maps/templates/shelter_3.dmm"
|
|
|
|
/datum/map_template/shelter/charlie/New()
|
|
. = ..()
|
|
blacklisted_turfs = typecacheof(/turf/open/indestructible) //yogs added indestructible floors to the shelter black list
|
|
whitelisted_turfs = typecacheof(/turf/closed/mineral)
|
|
banned_objects = typecacheof(/obj/structure/stone_tile)
|