Skip to content

Commit

Permalink
Adds OBS trade station, more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit committed Feb 7, 2024
1 parent 2c96e6e commit 16d7606
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 4 deletions.
1 change: 1 addition & 0 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3294,6 +3294,7 @@
#include "code\modules\trading_stations\trading_station_types\0_always_spawn\medical.dm"
#include "code\modules\trading_stations\trading_station_types\0_always_spawn\security.dm"
#include "code\modules\trading_stations\trading_station_types\2_rare\weapons.dm"
#include "code\modules\trading_stations\trading_station_types\3_very_rare\obs.dm"
#include "code\modules\trusted-players\procs.dm"
#include "code\modules\turbolift\_turbolift.dm"
#include "code\modules\turbolift\turbolift.dm"
Expand Down
3 changes: 3 additions & 0 deletions code/__defines/culture.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
#define FACTION_TERRASENATE_OBS "Order of the Black Sun" // Not exactly a faction within senate, but it exists
// End <
#define FACTION_ISC "Independent Space Confederation"
// Members of ISC >
#define FACTION_NANOTRASEN "NanoTrasen"
#define FACTION_CYBERSUN "Cybersun Industries"
#define FACTION_REBORN_CHRISTIAN_CHURCH "Reborn Christian Church"
// End <
#define FACTION_FREETRADE "Free Trade Union"
#define FACTION_HEPHAESTUS "Hephaestus Industries"
#define FACTION_XYNERGY "Xynergy"
Expand Down
14 changes: 14 additions & 0 deletions code/game/jobs/access_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -513,3 +513,17 @@
desc = "Supply Console - Cybersun Link"
region = ACCESS_REGION_SUPPLY
access_type = ACCESS_TYPE_NONE

/var/const/access_supplylink_obs = "ACCESS_SUPPLY_LINK_OBS"
/datum/access/supplylink_obs
id = access_supplylink_obs
desc = "Supply Console - OBS Link"
region = ACCESS_REGION_SUPPLY
access_type = ACCESS_TYPE_NONE

/var/const/access_supplylink_reborn_church = "ACCESS_SUPPLY_LINK_REBORN_CHURCH"
/datum/access/supplylink_reborn_church
id = access_supplylink_reborn_church
desc = "Supply Console - Reborn Christian Church Link"
region = ACCESS_REGION_SUPPLY
access_type = ACCESS_TYPE_NONE
3 changes: 3 additions & 0 deletions code/game/objects/effects/decals/contraband.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@

return FALSE

/obj/item/contraband/poster/order_black_of_sun
poster_type = /decl/poster/illegal/order_black_of_sun

//############################## THE ACTUAL DECALS ###########################

/obj/structure/sign/poster
Expand Down
8 changes: 4 additions & 4 deletions code/modules/item_worth/worths_list.dm
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ var/list/worths = list(
/obj/item/rcd = 1000,
/obj/item/rcd_ammo = 50,
/obj/item/rsf = 300,
/obj/item/teleportation_scroll = 1000,
/obj/item/teleportation_scroll = 2000,
/obj/item/shield/buckler = 300, //More expensive because people don't make them anymore,
/obj/item/shield/riot = 150,
/obj/item/shield/energy = 1200,
Expand Down Expand Up @@ -269,7 +269,7 @@ var/list/worths = list(
//MELEE,
/obj/item/melee/cultblade = 500,
/obj/item/melee/energy/axe = 3400,
/obj/item/melee/energy = 1200,
/obj/item/melee/energy = 2000,
/obj/item/melee/whip = 200,
/obj/item/melee/whip/abyssal = 1025,
/obj/item/melee/baton/cattleprod = 30,
Expand Down Expand Up @@ -335,9 +335,9 @@ var/list/worths = list(
/obj/item/clothing/glasses/sunglasses/prescription = 230,
/obj/item/clothing/glasses/sunglasses/sechud/goggles = 550,
/obj/item/clothing/glasses/sunglasses/sechud = 530,
/obj/item/clothing/glasses/thermal = 1990,
/obj/item/clothing/glasses = 150,
/obj/item/clothing/glasses/thermal = 2200,
/obj/item/clothing/glasses/tacgoggles = 1200,
/obj/item/clothing/glasses = 150,
//GLOVES,
/obj/item/clothing/gloves/boxing = 60,
/obj/item/clothing/gloves/color/white = 20,
Expand Down
41 changes: 41 additions & 0 deletions code/modules/trading_stations/_faction.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
FACTION_ISC = FACTION_STATE_RIVAL,
FACTION_NANOTRASEN = FACTION_STATE_ANIMOSITY,
FACTION_CYBERSUN = FACTION_STATE_ANIMOSITY,
FACTION_REBORN_CHRISTIAN_CHURCH = FACTION_STATE_ENEMY,
FACTION_TERRASENATE_OBS = FACTION_STATE_ENEMY,
)
access_required = access_supplylink_terragov

Expand All @@ -56,6 +58,8 @@
FACTION_TERRAGOV = FACTION_STATE_RIVAL,
FACTION_ISC = FACTION_STATE_RIVAL,
FACTION_NANOTRASEN = FACTION_STATE_WELCOMING,
FACTION_REBORN_CHRISTIAN_CHURCH = FACTION_STATE_RIVAL,
FACTION_TERRASENATE_OBS = FACTION_STATE_WAR,
)
access_required = access_supplylink_solgov

Expand All @@ -67,6 +71,8 @@
FACTION_SOL_CENTRAL = FACTION_STATE_RIVAL,
FACTION_NANOTRASEN = FACTION_STATE_ALLY,
FACTION_CYBERSUN = FACTION_STATE_ALLY,
FACTION_REBORN_CHRISTIAN_CHURCH = FACTION_STATE_ALLY,
FACTION_TERRASENATE_OBS = FACTION_STATE_ENEMY,
)
access_required = access_supplylink_isc

Expand All @@ -80,6 +86,8 @@
FACTION_SOL_CENTRAL = FACTION_STATE_WELCOMING,
FACTION_ISC = FACTION_STATE_ALLY,
FACTION_CYBERSUN = FACTION_STATE_ALLY,
FACTION_REBORN_CHRISTIAN_CHURCH = FACTION_STATE_ALLY,
FACTION_TERRASENATE_OBS = FACTION_STATE_RIVAL,
)
access_required = access_supplylink_nanotrasen

Expand All @@ -91,9 +99,42 @@
FACTION_SOL_CENTRAL = FACTION_STATE_WELCOMING,
FACTION_ISC = FACTION_STATE_ALLY,
FACTION_NANOTRASEN = FACTION_STATE_ALLY,
FACTION_REBORN_CHRISTIAN_CHURCH = FACTION_STATE_ALLY,
FACTION_TERRASENATE_OBS = FACTION_STATE_ANIMOSITY,
)
access_required = access_supplylink_cybersun

// Member states of ISC

/datum/trade_faction/reborcn_church
name = FACTION_REBORN_CHRISTIAN_CHURCH
desc = "A part of the Reborn Christian Church, a fanatical state focused on enforcing the will of Pontifex Maximus."
relationship = list(
FACTION_INDEPENDENT = FACTION_STATE_ANIMOSITY,
FACTION_TERRAGOV = FACTION_STATE_ENEMY,
FACTION_SOL_CENTRAL = FACTION_STATE_RIVAL,
FACTION_ISC = FACTION_STATE_ALLY,
FACTION_NANOTRASEN = FACTION_STATE_ALLY,
FACTION_CYBERSUN = FACTION_STATE_ALLY,
FACTION_TERRASENATE_OBS = FACTION_STATE_ENEMY,
)
access_required = access_supplylink_reborn_church

// Purely independent states

// Misc

/datum/trade_faction/obs
name = FACTION_TERRASENATE_OBS
desc = "A part of the Order of the Black Sun, a xenophobic ultra-nationalist terrorist group."
relationship = list(
FACTION_INDEPENDENT = FACTION_STATE_RIVAL,
FACTION_TERRAGOV = FACTION_STATE_ENEMY,
FACTION_SOL_CENTRAL = FACTION_STATE_WAR,
FACTION_ISC = FACTION_STATE_ENEMY,
FACTION_NANOTRASEN = FACTION_STATE_RIVAL,
// OBS trades more with Cybersun,
FACTION_CYBERSUN = FACTION_STATE_ANIMOSITY,
FACTION_REBORN_CHRISTIAN_CHURCH = FACTION_STATE_ENEMY,
)
access_required = access_supplylink_obs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Sells stolen shit;
// Unlocked inventory contains their own unique items
/datum/trading_station/obs
name_pool = list(
"FTB \"Eclipse\"" = "Free Trade Beacon \"Eclipse\": DATA MISSING | CONTACT SUP-#*@$! <b>Glory to the Order and the new humanity!</b>",
)
uid = "obs"
unlock_favor = 10000
faction = FACTION_TERRASENATE_OBS
spawn_probability = 15
start_hidden = TRUE
markup = 1.5
inventory = list(
TRADE_CAT_EQUIPMENT = list(
/obj/item/device/personal_shield = GOODS_DEFAULT,
/obj/item/silencer = GOODS_DEFAULT,
/obj/item/clothing/glasses/tacgoggles = GOODS_DEFAULT,
/obj/item/clothing/glasses/thermal = GOODS_DEFAULT,
/obj/item/clothing/glasses/night = GOODS_DEFAULT,
/obj/item/contraband/poster/order_black_of_sun = GOODS_DEFAULT,
),
TRADE_CAT_CLOTHING = list(
/obj/item/clothing/gloves/thick/combat = GOODS_DEFAULT,
),
TRADE_CAT_WEAPONS = list(
/obj/item/tank/phoron/onetankbomb = GOODS_DEFAULT,
/obj/item/grenade/frag = GOODS_DEFAULT,
),
)
hidden_inventory = list(
TRADE_CAT_VOIDSUIT = list(
/obj/item/clothing/suit/space/void/merc/obs = GOODS_DATA("eclipse void suit", list(1, 3), 4000),
/obj/item/clothing/head/helmet/space/void/merc/obs = GOODS_DATA("eclipse void suit helmet", list(1, 3), 3000),
),
)

0 comments on commit 16d7606

Please sign in to comment.