mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
trainship hijack deathmatch map (#82933)
adds the Trainship Hijack deathmatch map it is a few flying trains in Tizira being boarded and stuff by cowboys its pretty cool i think also allows changing turf reservation type of lazy templates
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -15,6 +15,8 @@
|
||||
var/map_name
|
||||
/// place_on_top: Whether to use /turf/proc/PlaceOnTop rather than /turf/proc/ChangeTurf
|
||||
var/place_on_top = FALSE
|
||||
/// type of turf reservation
|
||||
var/turf_reservation_type = /datum/turf_reservation
|
||||
|
||||
/datum/lazy_template/New()
|
||||
reservations = list()
|
||||
@@ -62,6 +64,7 @@
|
||||
width,
|
||||
height,
|
||||
parsed_template.parsed_bounds[MAP_MAXZ],
|
||||
reservation_type = turf_reservation_type,
|
||||
)
|
||||
if(!reservation)
|
||||
CRASH("Failed to reserve a block for lazy template: '[key]'")
|
||||
|
||||
@@ -13,3 +13,15 @@
|
||||
|
||||
/area/deathmatch/teleport //Prevent access to cross-z teleportation in the map itself (no wands of safety/teleportation scrolls). Cordons should prevent same-z teleportations outside of the arena.
|
||||
area_flags = UNIQUE_AREA | ABDUCTOR_PROOF | EVENT_PROTECTED | QUIET_LOGS
|
||||
|
||||
// for the illusion of a moving train
|
||||
/turf/open/chasm/true/no_smooth/fake_motion_sand
|
||||
name = "air"
|
||||
desc = "Dont jump off, unless you want to fall a really long distance."
|
||||
icon_state = "sandmoving"
|
||||
base_icon_state = "sandmoving"
|
||||
icon = 'icons/turf/floors.dmi'
|
||||
|
||||
/turf/open/chasm/true/no_smooth/fake_motion_sand/fast
|
||||
icon_state = "sandmovingfast"
|
||||
base_icon_state = "sandmovingfast"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
var/list/allowed_loadouts = list()
|
||||
/// whether we are currently being loaded by a lobby
|
||||
var/template_in_use = FALSE
|
||||
|
||||
|
||||
|
||||
/datum/lazy_template/deathmatch/ragecage
|
||||
name = "Ragecage"
|
||||
@@ -175,3 +175,15 @@
|
||||
)
|
||||
map_name = "ragin_mages"
|
||||
key = "ragin_mages"
|
||||
|
||||
/datum/lazy_template/deathmatch/train
|
||||
name = "Trainship Hijack"
|
||||
desc = "Trouble stirs in Tizira..."
|
||||
max_players = 8
|
||||
allowed_loadouts = list(/datum/outfit/deathmatch_loadout/battler/cowboy)
|
||||
map_name = "train"
|
||||
key = "train"
|
||||
turf_reservation_type = /datum/turf_reservation/indestructible_plating
|
||||
|
||||
/datum/turf_reservation/indestructible_plating
|
||||
turf_type = /turf/open/indestructible/plating //a little hacky but i guess it has to be done
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 377 KiB |
Reference in New Issue
Block a user