Packed initial commit

This commit is contained in:
PromethTK11
2017-06-05 01:14:23 -04:00
parent 0eacacba09
commit 722ce1db96
8 changed files with 10935 additions and 0 deletions

54
maps/packedstation.dm Normal file
View File

@@ -0,0 +1,54 @@
//**************************************************************
// Map Datum -- Smolstation
//**************************************************************
/datum/map/active
nameShort = "Smol"
nameLong = "Smol Station"
map_dir = "smolstation"
tDomeX = 128
tDomeY = 69
tDomeZ = 2
zLevels = list(
/datum/zLevel/station,
/datum/zLevel/centcomm,
/datum/zLevel/space{
name = "spaceOldSat" ;
},
/datum/zLevel/space{
name = "derelict" ;
},
/datum/zLevel/mining,
/datum/zLevel/space{
name = "spacePirateShip" ;
},
)
enabled_jobs = list(/datum/job/trader)
load_map_elements = list(
/datum/map_element/dungeon/holodeck
)
holomap_offset_x = list(0,0,0,86,4,0,0,)
holomap_offset_y = list(0,0,0,94,10,0,0,)
/datum/map/active/New()
.=..()
research_shuttle.name = "Asteroid Shuttle" //There is only one shuttle on smolstation - the asteroid shuttle
research_shuttle.req_access = list() //It's shared by miners and researchers, so remove access requirements
////////////////////////////////////////////////////////////////
#include "smolstation.dmm"
#if !defined(MAP_OVERRIDE_FILES)
#define MAP_OVERRIDE_FILES
#include "smolstation\misc.dm"
#include "smolstation\telecomms.dm"
#include "smolstation\uplink_item.dm"
//#include "smolstation\job\jobs.dm" //Job changes removed for now
//#include "smolstation\job\removed.dm"
//#elif !defined(MAP_OVERRIDE)
//#warn a map has already been included, ignoring smolstation.

10677
maps/packedstation.dmm Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,82 @@
/*
In this file we modify the job datums when the packedstation.dm file is included/ticked.
Since we will be overriden by the job datums, we have to modify the variables in the constructor.
*/
/datum/job/New()
..()
supervisors = "the captain"
/datum/job/assistant // Here so assistant appears on the top of the select job list.
// Command
/datum/job/captain/New()
..()
supervisors = "Nanotrasen and Central Command"
/datum/job/hop/New()
..()
supervisors = "the captain and Central Command"
/datum/job/hop/get_access()
return get_all_accesses()
// Cargo
/datum/job/cargo_tech/New()
..()
total_positions = 3
spawn_positions = 3
access = list(access_maint_tunnels, access_mailsorting, access_cargo, access_cargo_bot, access_qm, access_mint, access_mining, access_mining_station)
minimal_access = list(access_maint_tunnels, access_cargo, access_cargo_bot, access_mining, access_mint, access_mining_station, access_mailsorting)
// Engineering
/datum/job/engineer/New()
..()
total_positions = 4
spawn_positions = 4
access = list(access_eva, access_engine, access_engine_equip, access_tech_storage, access_maint_tunnels, access_external_airlocks, access_construction, access_atmospherics, access_tcomsat)
minimal_access = list(access_engine, access_engine_equip, access_tech_storage, access_maint_tunnels, access_external_airlocks, access_construction, access_tcomsat, access_atmospherics)
// Medical
/datum/job/doctor/New()
..()
total_positions = 4
spawn_positions = 4
access = list(access_medical, access_morgue, access_surgery, access_chemistry, access_virology, access_genetics)
minimal_access = list(access_medical, access_morgue, access_surgery)
/datum/job/chemist/New()
..()
total_positions = 1
spawn_positions = 1
access = list(access_medical, access_morgue, access_surgery, access_chemistry, access_virology, access_genetics)
minimal_access = list(access_medical, access_chemistry)
// Science
/datum/job/scientist/New()
..()
total_positions = 4
spawn_positions = 4
access = list(access_robotics, access_rnd, access_tox_storage, access_science, access_xenobiology)
minimal_access = list(access_rnd, access_tox_storage, access_science, access_xenobiology, access_robotics)
// Security
/datum/job/detective/New()
..()
access = list(access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels, access_court, access_engine)
minimal_access = list(access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels, access_court)
/datum/job/officer/New()
..()
total_positions = 4
spawn_positions = 4
access = list(access_security, access_sec_doors, access_brig, access_court)
minimal_access = list(access_security, access_sec_doors, access_brig, access_court)

View File

@@ -0,0 +1,62 @@
//Disabled jobs - handled by other jobs
/datum/job/chef
..()
total_positions = 0
spawn_positions = 0
/datum/job/mime
..()
total_positions = 0
spawn_positions = 0
/datum/job/librarian
..()
total_positions = 0
spawn_positions = 0
/datum/job/lawyer
..()
total_positions = 0
spawn_positions = 0
/datum/job/atmos
..()
total_positions = 0
spawn_positions = 0
/datum/job/geneticist
..()
total_positions = 0
spawn_positions = 0
/datum/job/virologist
..()
total_positions = 0
spawn_positions = 0
/datum/job/roboticist
..()
total_positions = 0
spawn_positions = 0
/datum/job/hop
..()
total_positions = 0
spawn_positions = 0
/datum/job/warden
..()
total_positions = 0
spawn_positions = 0
/datum/job/paramedic
..()
total_positions = 0
spawn_positions = 0
/datum/job/mechanic
total_positions = 0
spawn_positions = 0

View File

@@ -0,0 +1,7 @@
// Override global variables here!
/* Outdated:
/obj/item/weapon/paper/generator
name = "paper - 'generator instructions'"
info = "<h2>How to setup the Thermo-Generator</h2><ol> <li>To the top right is a room full of canisters; to the bottom there is a room full of pipes. Connect C02 canisters to the pipe room's top connector ports, the cansisters will help act as a buffer so only remove them when refilling the gas..</li> <li>Connect 3 plasma and 2 oxygen canisters to the bottom ports of the pipe room.</li> <li>Turn on all the pumps and valves in the room except for the one connected to the yellow pipe and red pipe, no adjustments to the pump strength needed.</li> <li>Look into the camera monitor to see the burn chamber. When it is full of plasma, press the igniter button.</li> <li>Setup the SMES cells in the North West of Engineering and set an input of half the max; and an output that is half the input.</li></ol>Well done, you should have a functioning generator generating power. If the generator stops working, and there is enough gas and it's hot and cold, it might mean there is too much pressure and you need to turn on the pump that is connected to the red and yellow pipes to release the pressure. Make sure you don't take out too much pressure though.<br>You optimize the generator you must work out how much power your station is using and lowering the circulation pumps enough so that the generator doesn't create excess power, and it will allow the generator to powering the station for a longer duration, without having to replace the canisters. "
*/

View File

@@ -0,0 +1,6 @@
/*
The contents of these files should not be ticked/included while compiling.
These files are only included, and compiled, when \_maps\packedstation.dm is included; as these files are necessary to run the PackedStation mod.
You do not have to tick them yourself, it will be automatically done by the smolstation.dm file.
*/

View File

@@ -0,0 +1,18 @@
/obj/machinery/telecomms/receiver/preset_left/ministation
name = "Receiver"
freq_listening = list()
/obj/machinery/telecomms/bus/preset_one/ministation
name = "Bus"
autolinkers = list("processor1", "common")
freq_listening = list()
/obj/machinery/telecomms/processor/preset_one/ministation
name = "Processor"
/obj/machinery/telecomms/server/presets/common/ministation/New()
..()
freq_listening = list()
/obj/machinery/telecomms/broadcaster/preset_left/ministation
name = "Broadcaster"

View File

@@ -0,0 +1,29 @@
// Modified uplink items to discourage tator murderboning
/datum/uplink_item/dangerous/revolver/New()
..()
cost = 20
/datum/uplink_item/dangerous/crossbow/New()
..()
cost = 16
/datum/uplink_item/dangerous/sword/New()
..()
cost = 14
/datum/uplink_item/dangerous/syndicate_minibomb/New()
..()
cost = 12
/datum/uplink_item/stealthy_weapons/para_pen/New()
..()
item = null // Disabled
/datum/uplink_item/stealthy_tools/syndigaloshes/New()
..()
cost = 10
/datum/uplink_item/device_tools/plastic_explosives/New()
..()
item = null // Disabled