New outsider alt title: Space Farer (outsider shuttles) (#8775)

Co-authored-by: Guti <guti23400@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
tacoguy7765093
2024-08-28 09:11:08 -05:00
committed by GitHub
parent d34215950a
commit 2457aefda9
11 changed files with 4405 additions and 14 deletions

View File

@@ -20,6 +20,16 @@
wallet.owner_name = H.real_name
wallet.worth = 1000
/decl/hierarchy/outfit/noncrew/spacefarer
name = OUTFIT_JOB_NAME("Spacefarer")
uniform = /obj/item/clothing/under/rank/pilot2
shoes = /obj/item/clothing/shoes/boots/jackboots/
r_pocket = /obj/item/weapon/spacecash/ewallet
l_pocket = /obj/item/device/survivalcapsule/superpose/shuttle
l_hand = /obj/item/weapon/tank/jetpack/oxygen //OUTFIT_HAS_JETPACK doesnt seem to work.
flags = OUTFIT_HAS_BACKPACK|OUTFIT_EXTENDED_SURVIVAL|OUTFIT_COMPREHENSIVE_SURVIVAL
/decl/hierarchy/outfit/shadekin
name = OUTFIT_JOB_NAME(JOB_ANOMALY)
//hierarchy_type = /decl/hierarchy/outfit/noncrew

View File

@@ -1,20 +1,20 @@
/datum/job/noncrew
title = JOB_OUTSIDER
disallow_jobhop = TRUE
total_positions = 6
spawn_positions = 6
supervisors = "nobody, but you fall under NanoTrasen's Unauthorized Personnel SOP while on NT property. Please read <a href='https://wiki.chompstation13.net/index.php/Rules#Outsiders_Guidelines'>the Outsider Guidelines</a> clearly before playing"
title = JOB_OUTSIDER
disallow_jobhop = TRUE
total_positions = 6
spawn_positions = 6
supervisors = "nobody, but you fall under NanoTrasen's Unauthorized Personnel SOP while on NT property. Please read <a href='https://wiki.chompstation13.net/index.php/Rules#Outsiders_Guidelines'>the Outsider Guidelines</a> clearly before playing"
flag = NONCREW
departments = list(DEPARTMENT_NONCREW)
department_flag = OTHER
faction = "Station"
assignable = FALSE
account_allowed = 0
offmap_spawn = TRUE
flag = NONCREW
departments = list(DEPARTMENT_NONCREW)
department_flag = OTHER
faction = "Station"
assignable = FALSE
account_allowed = 0
offmap_spawn = TRUE
outfit_type = /decl/hierarchy/outfit/noncrew
job_description = {"Players taking a role of an outsider not employed by NT with no special mechanics. One superpose pod is provided.
outfit_type = /decl/hierarchy/outfit/noncrew
job_description = {"Players taking a role of an outsider not employed by NT with no special mechanics. One superpose pod is provided.
-----Server rules still apply to the fullest
-----Outsiders are considered unauthorized personnel on Southern Cross.
-----Outsiders are not allowed to take part in events and mini-event areas unless the EM says otherwise.
@@ -24,6 +24,11 @@
-----Outsiders are not allowed to log-off with station key items (e.g. Captain's spare, station blueprints, nuclear authentication disk, bluespace harpoon, large quantities of station goods, etc). Please leave these items on station or with relevant crew.
-----We encourage outsiders to take on exploration content as a group, staff will not help you for any hardships of solo play.
-----Notice: The outsider role is relatively new; if you encounter bugs, please notify a staff member and avoid using exploits."}
alt_titles = list("Spacefarer" = /datum/alt_title/spacefarer)
/datum/alt_title/spacefarer
title = "Spacefarer"
title_outfit = /decl/hierarchy/outfit/noncrew/spacefarer
/*seems to be a kin only thing?
/datum/job/noncrew/is_species_banned(species_name, brain_type)

View File

@@ -187,3 +187,32 @@
template = null // Important to reset both, otherwise the template cannot be reset once the pod has been deployed.
to_chat(user, "<span class='notice'>You reset the pod's selection.</span>")
..()
/obj/item/device/survivalcapsule/superpose/shuttle
name = "superposed surfluid shuttle capsule"
is_ship = TRUE //So you cant just make holes in planets
/obj/item/device/survivalcapsule/superpose/shuttle/attack_self()
if(!pod_initialized)
for(var/datum/map_template/shelter/superpose/shelter_type as anything in subtypesof(/datum/map_template/shelter/))
if(!(initial(shelter_type.mappath)) || !(initial(shelter_type.shuttle)))
continue
template_ids += initial(shelter_type.shelter_id)
pod_initialized = TRUE
if(!template_id)
var/answer = tgui_input_list(usr, "Which template would you like to load?","Available Templates", template_ids)
if(!answer)
return
else
template_id = answer
unique_id = answer
return
..()
/obj/item/device/survivalcapsule/superpose/attackby(obj/item/W, mob/user)
if(istype(W, /obj/item/weapon/pen) && !used)
template_id = null
unique_id = null
template = null
to_chat(user, SPAN_NOTICE("You reset the pod's selection."))
..()

View File

@@ -1,5 +1,6 @@
/datum/map_template/shelter
var/superpose = FALSE
var/shuttle = FALSE
// Subtype to mark maps for use with the superpose capsule. This is mostly to prevent automatic additions from upstream changes.
/datum/map_template/shelter/superpose