mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Uueoa-Esa, Part 2: System Ruins (#18944)
Adds several ruins for the uninhabited planets of Uueoa-Esa. Adds a pre-contact Unathi spacesuit for one of the ruins and potential future use. Voidsuits and other refittable clothing items (if any are added) can now be set to refit to a species on initialize rather than copypasting code for mapped-in suit variants. Will require updating for #18850 and #18920 when merged.
This commit is contained in:
@@ -41,6 +41,9 @@
|
||||
///How protective is this clothing against anomalies? Should be a value from 0 to 1 indicating the percentage of anomaly protection it provides.
|
||||
var/anomaly_protection = 0
|
||||
|
||||
///Species to refit the item for on initialize so that we can map in specific items for specific species easier. This should be set to the BODYTYPE of the species in question, not the species name or type itself.
|
||||
var/refit_initialize = null
|
||||
|
||||
/obj/item/clothing/Initialize(var/mapload, var/material_key)
|
||||
. = ..(mapload)
|
||||
if(!material_key)
|
||||
@@ -51,6 +54,11 @@
|
||||
for(var/T in starting_accessories)
|
||||
var/obj/item/clothing/accessory/tie = new T(src)
|
||||
src.attach_accessory(null, tie)
|
||||
if(refit_initialize)
|
||||
if(contained_sprite)
|
||||
refit_contained(refit_initialize)
|
||||
else
|
||||
refit_for_species(refit_initialize)
|
||||
update_icon()
|
||||
|
||||
/obj/item/clothing/Destroy()
|
||||
|
||||
@@ -314,3 +314,24 @@
|
||||
desc = "A reinforced mix of older Dominian and homemade Unathi pirate hardware in a single helmet; made to fit in a larger assembly."
|
||||
icon_state = "rig-hiskyncaptain-helmet"
|
||||
item_state = "rig-hiskyncaptain-helmet"
|
||||
|
||||
//Pre-contact spacesuits for Uueoa-Esa ruins.
|
||||
/obj/item/clothing/suit/space/unathi_ruin
|
||||
name = "unathi spacesuit"
|
||||
desc = "A large and bulky spacesuit, seemingly of an early space age design. The distinctive shape of the suit indicates that it was made for an Unathi wearer."
|
||||
desc_extended = "These spacesuits were among some of the earliest designs of Unathi space programs, though they rapidly became obsolete following first contact and the massive expansion of space exploration efforts. Seeing a suit like this outside of a museum is extremely rare in the modern day. The markings on this one do not identify it as Izweski, but it is impossible to tell to whom it might have belonged."
|
||||
icon = 'icons/obj/unathi_ruins.dmi'
|
||||
icon_state = "unathispacesuit"
|
||||
item_state = "unathispacesuit"
|
||||
species_restricted = list(SPECIES_UNATHI)
|
||||
refittable = FALSE
|
||||
|
||||
/obj/item/clothing/head/helmet/space/unathi_ruin
|
||||
name = "unathi space helmet"
|
||||
desc = "A large and bulky space helmet, with a primitive 'fishbowl' design common in the early days of space exploration. The shape of the helmet indicates that it was designed for an Unathi wearer."
|
||||
desc_extended = "These helmets are an early design from the Unathi space age, used primarily by the first Izweski astronauts in the 22nd century. They rapidly became obsolete after first contact and the massive expansion of space exploration efforts, making them a rare site outside of museums and private collections in the modern day. The markings on this one do not identify it as Izweski, but it is impossible to tell to whom it might have belonged."
|
||||
icon = 'icons/obj/unathi_ruins.dmi'
|
||||
icon_state = "unathispacehelm"
|
||||
item_state = "unathispacehelm"
|
||||
species_restricted = list(SPECIES_UNATHI)
|
||||
refittable = FALSE
|
||||
|
||||
@@ -48,10 +48,8 @@
|
||||
species_restricted = list(BODYTYPE_HUMAN, BODYTYPE_SKRELL, BODYTYPE_IPC_INDUSTRIAL, BODYTYPE_IPC_ZENGHU, BODYTYPE_IPC_BISHOP)
|
||||
refittable_species = list(BODYTYPE_HUMAN, BODYTYPE_TAJARA, BODYTYPE_IPC, BODYTYPE_UNATHI, BODYTYPE_SKRELL)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/void/merc/unathi/Initialize()
|
||||
. = ..()
|
||||
refit_contained(BODYTYPE_UNATHI)
|
||||
/obj/item/clothing/head/helmet/space/void/merc/unathi
|
||||
refit_initialize = BODYTYPE_UNATHI
|
||||
|
||||
/obj/item/clothing/suit/space/void/merc/unathi/Initialize()
|
||||
. = ..()
|
||||
refit_contained(BODYTYPE_UNATHI)
|
||||
/obj/item/clothing/suit/space/void/merc/unathi
|
||||
refit_initialize = BODYTYPE_UNATHI
|
||||
|
||||
@@ -360,10 +360,9 @@
|
||||
species_restricted = list(BODYTYPE_HUMAN)
|
||||
refittable_species = list(BODYTYPE_HUMAN, BODYTYPE_UNATHI)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/void/lancer/unathi/Initialize()
|
||||
. = ..()
|
||||
/obj/item/clothing/head/helmet/space/void/lancer/unathi
|
||||
desc = "A sleek helmet with a bright yellow visor, expertly made in and colored in the iconic branding of Ceres' Lance. This one is fitted to Unathi."
|
||||
refit_contained(BODYTYPE_UNATHI)
|
||||
refit_initialize = BODYTYPE_UNATHI
|
||||
|
||||
/obj/item/clothing/suit/space/void/lancer
|
||||
name = "lancer voidsuit"
|
||||
@@ -389,10 +388,9 @@
|
||||
species_restricted = list(BODYTYPE_HUMAN)
|
||||
refittable_species = list(BODYTYPE_HUMAN, BODYTYPE_UNATHI)
|
||||
|
||||
/obj/item/clothing/suit/space/void/lancer/unathi/Initialize()
|
||||
. = ..()
|
||||
/obj/item/clothing/suit/space/void/lancer/unathi
|
||||
desc = "A bulky void suit with heavy plating. Looks to be colored in the branding of Ceres' Lance. This one is fitted to Unathi."
|
||||
refit_contained(BODYTYPE_UNATHI)
|
||||
refit_initialize = BODYTYPE_UNATHI
|
||||
|
||||
//Einstein Engines espionage voidsuit
|
||||
/obj/item/clothing/head/helmet/space/void/einstein
|
||||
|
||||
@@ -228,6 +228,14 @@
|
||||
..()
|
||||
ex_act(2.0)
|
||||
|
||||
//Fertilizer tank
|
||||
/obj/structure/reagent_dispensers/fertilizer
|
||||
name = "fertilizer tank"
|
||||
desc = "A tank filled with nutrients for plant growth"
|
||||
icon_state = "lubetank"
|
||||
amount_per_transfer_from_this = 30
|
||||
reagents_to_add = list(/singleton/reagent/toxin/fertilizer = 1000)
|
||||
|
||||
//Wall Dispensers
|
||||
|
||||
/obj/structure/reagent_dispensers/peppertank
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
//for easy reference
|
||||
/obj/var/datum/talking_atom/talking_atom
|
||||
|
||||
/obj/Destroy()
|
||||
QDEL_NULL(talking_atom)
|
||||
return ..()
|
||||
|
||||
/datum/talking_atom
|
||||
var/list/heard_words = list()
|
||||
var/last_talk_time = 0
|
||||
|
||||
Reference in New Issue
Block a user