mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 02:21:44 +00:00
🆑 coiax tweak: Regular Capture-The-Flag players can no longer be wounded. Simulated participants in the Medieval Shuttle can still be violently murdered with wounds however. /🆑 CTF is very fast paced, and if you've taken damage without your shield, you are nearly dead most of the time. However, if you do survive, you're supposed to slowly heal, but wounds are untreatable on the battlefield. People still being able to be bloodily stabbed in the Medieval Shuttle is definitely a feature. - Aliens (xenomorphs) are still immune to wounds, but that immunity is now done with a trait, rather than a typecheck.
148 lines
5.6 KiB
Plaintext
148 lines
5.6 KiB
Plaintext
///These are for the medisim shuttle
|
|
|
|
#define REDFIELD_TEAM "Red"
|
|
#define BLUESWORTH_TEAM "Blue"
|
|
|
|
/obj/machinery/capture_the_flag/medisim
|
|
game_id = "medieval"
|
|
game_area = /area/shuttle/escape/simulation
|
|
ammo_type = null //no guns, no need
|
|
victory_rejoin_text = "<span class='userdanger'>Teams have been cleared. The next game is starting automatically. Rejoin a team if you wish!</span>"
|
|
|
|
/obj/machinery/capture_the_flag/medisim/Initialize(mapload)
|
|
. = ..()
|
|
// Ensure that the historical simulation is extra bloody.
|
|
player_traits -= TRAIT_NEVER_WOUNDED
|
|
|
|
start_ctf() //both machines initialize, so both will call start_ctf instead of toggle_id_ctf calling it for both, twice.
|
|
|
|
/obj/machinery/capture_the_flag/medisim/victory()
|
|
. = ..()
|
|
toggle_id_ctf(null, game_id, automated = TRUE)//only one machine runs the victory proc, start_ctf proc would break the other machine
|
|
|
|
/obj/machinery/capture_the_flag/medisim/spawn_team_member(client/new_team_member)
|
|
. = ..()
|
|
if(!.)
|
|
return
|
|
var/mob/living/carbon/human/human_knight = .
|
|
randomize_human(human_knight)
|
|
human_knight.dna.add_mutation(MEDIEVAL, MUT_OTHER)
|
|
var/oldname = human_knight.name
|
|
var/title = "error"
|
|
switch (human_knight.gender)
|
|
if (MALE)
|
|
title = pick(list("Sir", "Lord"))
|
|
if (FEMALE)
|
|
title = pick(list("Dame", "Lady"))
|
|
else
|
|
title = "Noble"
|
|
human_knight.real_name = "[title] [oldname]"
|
|
human_knight.name = human_knight.real_name
|
|
|
|
/obj/machinery/capture_the_flag/medisim/red
|
|
name = "\improper Redfield Data Realizer"
|
|
icon_state = "syndbeacon"
|
|
team = REDFIELD_TEAM
|
|
team_span = "redteamradio"
|
|
ctf_gear = list("knight" = /datum/outfit/medisim/red_knight, "archer" = /datum/outfit/medisim/red_archer)
|
|
|
|
/obj/machinery/capture_the_flag/medisim/blue
|
|
name = "\improper Bluesworth Data Realizer"
|
|
icon_state = "bluebeacon"
|
|
team = BLUESWORTH_TEAM
|
|
team_span = "blueteamradio"
|
|
ctf_gear = list("knight" = /datum/outfit/medisim/blue_knight, "archer" = /datum/outfit/medisim/blue_archer)
|
|
|
|
/obj/item/ctf/red/medisim
|
|
name = "\improper Redfield Castle Fair Maiden"
|
|
desc = "Protect your maiden, and capture theirs!"
|
|
icon = 'icons/obj/plushes.dmi'
|
|
icon_state = "plushie_nuke"
|
|
game_area = /area/shuttle/escape
|
|
movement_type = FLOATING //there are chasms, and resetting when they fall in is really lame so lets minimize that
|
|
|
|
/obj/item/ctf/blue/medisim
|
|
name = "\improper Bluesworth Hold Fair Maiden"
|
|
desc = "Protect your maiden, and capture theirs!"
|
|
icon = 'icons/obj/plushes.dmi'
|
|
icon_state = "plushie_slime"
|
|
game_area = /area/shuttle/escape
|
|
movement_type = FLOATING //there are chasms, and resetting when they fall in is really lame so lets minimize that
|
|
|
|
//everything except arrows
|
|
/datum/outfit/medisim/post_equip(mob/living/carbon/human/H, visualsOnly)
|
|
var/list/no_drops = list()
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_FEET)
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_BELT)
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_ICLOTHING)
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_OCLOTHING)
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_HEAD)
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_HANDS)
|
|
no_drops += H.get_item_by_slot(ITEM_SLOT_GLOVES)
|
|
listclearnulls(no_drops) //any slots we didn't have
|
|
for(var/_outfit_item in no_drops)
|
|
var/obj/item/outfit_item = _outfit_item
|
|
outfit_item.item_flags |= DROPDEL//so this all stays clean :)
|
|
|
|
/datum/outfit/medisim/red_knight
|
|
name = "Redfield Castle Knight"
|
|
|
|
uniform = /obj/item/clothing/under/color/red
|
|
shoes = /obj/item/clothing/shoes/plate/red
|
|
suit = /obj/item/clothing/suit/armor/riot/knight/red
|
|
gloves = /obj/item/clothing/gloves/plate/red
|
|
head = /obj/item/clothing/head/helmet/knight/red
|
|
r_hand = /obj/item/claymore
|
|
|
|
/datum/outfit/medisim/blue_knight
|
|
name = "Bluesworth Hold Knight"
|
|
|
|
uniform = /obj/item/clothing/under/color/blue
|
|
shoes = /obj/item/clothing/shoes/plate/blue
|
|
suit = /obj/item/clothing/suit/armor/riot/knight/blue
|
|
gloves = /obj/item/clothing/gloves/plate/blue
|
|
head = /obj/item/clothing/head/helmet/knight/blue
|
|
r_hand = /obj/item/claymore
|
|
|
|
/datum/outfit/medisim/red_archer
|
|
name = "Redfield Castle Archer"
|
|
|
|
uniform = /obj/item/clothing/under/color/red
|
|
belt = /obj/item/storage/bag/quiver
|
|
shoes = /obj/item/clothing/shoes/plate/red
|
|
suit = /obj/item/clothing/suit/armor/vest/cuirass
|
|
gloves = /obj/item/clothing/gloves/plate/red
|
|
head = /obj/item/clothing/head/helmet/knight/red
|
|
r_hand = /obj/item/gun/ballistic/bow
|
|
|
|
/datum/outfit/medisim/blue_archer
|
|
name = "Bluesworth Hold Archer"
|
|
|
|
uniform = /obj/item/clothing/under/color/blue
|
|
belt = /obj/item/storage/bag/quiver
|
|
shoes = /obj/item/clothing/shoes/plate/blue
|
|
suit = /obj/item/clothing/suit/armor/vest/cuirass
|
|
gloves = /obj/item/clothing/gloves/plate/blue
|
|
head = /obj/item/clothing/head/helmet/knight/blue
|
|
r_hand = /obj/item/gun/ballistic/bow
|
|
|
|
/obj/machinery/computer/reality_simulation
|
|
name = "reality simulation computer"
|
|
desc = "A computer calculating the medieval times. Uh, wow. Is this bad boy quantum?"
|
|
|
|
/obj/item/paper/crumpled/retired_designs
|
|
name = "crumpled notes on cuirass design"
|
|
info = {"Yeah, you may as well just melt this crap back down into metal.<br>
|
|
<br>
|
|
<br>
|
|
What else am I supposed to say? Nanotrasen thinks these authentic cuirass models are too expensive for the simulation watchers.
|
|
That's bullshit, but my hands are tied. But you know. If one of you cargo folk up at central command take a cuirass for yourself
|
|
instead of throwing the damn thing out, like, I'm sure nobody would notice or care. OK, but I'm sitting here on an official
|
|
NT shuttle encouraging you to break spacelaw. Damn, I'm bored as fuck. I was kidding. Melt em. See you guys soon.
|
|
<br>
|
|
<br>
|
|
<i>the rest of the page is filled with various doodles of people fighting with swords.</i>"}
|
|
|
|
#undef REDFIELD_TEAM
|
|
#undef BLUESWORTH_TEAM
|