Skip to content

Commit

Permalink
Merge branch 'corecode-rewrite' of https://github.com/RepoStash/FD-Ne…
Browse files Browse the repository at this point in the history
…wBay into corecode-rewrite
  • Loading branch information
VoiceInYourHead committed Aug 5, 2024
2 parents 71078f0 + 2839e06 commit d50a1cb
Show file tree
Hide file tree
Showing 93 changed files with 93,566 additions and 69 deletions.
1 change: 0 additions & 1 deletion baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,6 @@
#include "code\modules\overmap\overmap_shuttle.dm"
#include "code\modules\overmap\sectors.dm"
#include "code\modules\overmap\spacetravel.dm"
#include "code\modules\overmap\trading_locations.dm"
#include "code\modules\overmap\contacts\_contacts.dm"
#include "code\modules\overmap\contacts\contact_sensors.dm"
#include "code\modules\overmap\contacts\tracker.dm"
Expand Down
9 changes: 4 additions & 5 deletions code/modules/mob/new_player/new_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,10 @@
to_chat(usr, SPAN_WARNING("The round is either not ready, or has already finished..."))
return 0
// [FD-EDIT]
if(!check_rights(R_ADMIN))
if(!usr.client.enter_lock_bypass)
if(!config.enter_allowed)
to_chat(usr, SPAN_NOTICE("There is an administrative lock on entering the game!"))
return 0
if(!config.enter_allowed)
if(!check_rights(, show_msg = FALSE) && !usr.client.enter_lock_bypass)
to_chat(usr, SPAN_NOTICE("There is an administrative lock on entering the game!"))
return 0
/*
if(!config.enter_allowed)
to_chat(usr, SPAN_NOTICE("There is an administrative lock on entering the game!"))
Expand Down
20 changes: 0 additions & 20 deletions code/modules/overmap/trading_locations.dm

This file was deleted.

11 changes: 7 additions & 4 deletions maps/torch_fd/fd_torch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "torch_ranks.dm"
#include "../torch/torch_security_state.dm"
#include "../torch/torch_setup.dm"
#include "../torch/torch_shuttles.dm"
#include "torch_shuttles.dm"
#include "../torch/torch_submaps.dm"
#include "../torch/torch_turfs.dm"
#include "../torch/torch_unit_testing.dm"
Expand Down Expand Up @@ -241,9 +241,9 @@
#include "../../mods/sauna_props/_sauna_props.dme"
#include "../../mods/wyccbay_optimization/_wyccbay_optimization.dme"

// #include "../../mods/_maps/sentinel/_map_sentinel.dme" // К чёрту оверрайдит все ранги флота ЦПСС, ломает роль SEA
// #include "../../mods/_maps/farfleet/_map_farfleet.dme" // Не совсем работает без карты Стража (инклюд выше)
// #include "../../mods/_maps/hand/_map_hand.dme" // Тоже зависим от предметов с карты Стража (инклюд над фарфлитом)
// #include "../../mods/_maps/sentinel/_map_sentinel.dme" // К чёрту оверрайдит все ранги флота ЦПСС, ломает роль SEA
// #include "../../mods/_maps/farfleet/_map_farfleet.dme" // Не совсем работает без карты Стража (инклюд выше)
// #include "../../mods/_maps/hand/_map_hand.dme" // Тоже зависим от предметов с карты Стража (инклюд над фарфлитом)

// ~NON-UPSTREAM MODS~ //

Expand Down Expand Up @@ -284,16 +284,19 @@
#include "../../mods/_fd/_maps/drone_carrier/_drone_carrier.dme"
#include "../../mods/_fd/_maps/facility/_facility.dme"
#include "../../mods/_fd/_maps/fluffy_biscuit/_fluffy_biscuit.dme"
#include "../../mods/_fd/_maps/farfleet_fd/_map_farfleet.dme"
#include "../../mods/_fd/_maps/lighthouse/_lighthouse.dme"
#include "../../mods/_fd/_maps/new_blueriver/_new_blueriver.dme"
#include "../../mods/_fd/_maps/providence/_providence.dme"
#include "../../mods/_fd/_maps/small_exoplanet_1/_small_exoplanet_1.dme"
#include "../../mods/_fd/_maps/smugglers_ship/_smugglers_ship.dme"
#include "../../mods/_fd/_maps/snow_cage/_snow_cage.dme"
#include "../../mods/_fd/_maps/sfv_dropship/_delman.dme"
// #include "../../mods/_fd/_maps/sentinel_fd/_sentinel.dme"
#include "../../mods/_fd/_maps/trader_ship/_trader_ship.dme"
#include "../../mods/_fd/_maps/yacht/_yacht.dme"
#include "../../mods/_fd/_maps/gccv_ulyanovsk/_ulyanovsk.dme"
#include "../../mods/_fd/_maps/khizriel/_khizriel.dme"
#include "../../mods/_fd/_maps/dead_sea/_dead_sea.dme"


Expand Down
2 changes: 1 addition & 1 deletion maps/torch_fd/job/addition/research_jobs.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Access
var/const/access_research_security = "ACCESS_RESEARCH_SECURITY" //97
var/global/const/access_research_security = "ACCESS_RESEARCH_SECURITY" //97
/datum/access/rnd_guard
id = access_research_security
desc = "Research Checkpoint"
Expand Down
6 changes: 3 additions & 3 deletions maps/torch_fd/torch2_deck4.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"ct" = (/obj/floor_decal/industrial/warning{dir = 1; icon_state = "warning"},/obj/machinery/door/blast/regular/escape_pod,/turf/simulated/floor/reinforced,/area/maintenance/fourthdeck/aft)
"cu" = (/turf/simulated/wall/r_wall/prepainted,/area/maintenance/fourthdeck/aft)
"cv" = (/obj/structure/cable/green{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/structure/disposalpipe/segment,/obj/structure/catwalk,/turf/simulated/floor/plating,/area/maintenance/fourthdeck/aft)
"cw" = (/obj/shuttle_landmark/merchant/out,/turf/space,/area/space)
"cw" = (/turf/space,/area/space)
"cx" = (/obj/structure/railing/mapped,/turf/simulated/floor/reinforced{map_airless = 1; name = "vacuum reinforced floor"},/area/space)
"cy" = (/obj/machinery/atmospherics/portables_connector{dir = 4},/obj/machinery/portable_atmospherics/canister/air/airlock,/turf/simulated/floor/tiled/monotile,/area/maintenance/fourthdeck/forestarboard)
"cz" = (/obj/catwalk_plated,/obj/machinery/atmospherics/pipe/manifold/hidden{dir = 4},/turf/simulated/floor/plating,/area/maintenance/fourthdeck/forestarboard)
Expand Down Expand Up @@ -783,7 +783,7 @@
"ph" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume/external_air{id_tag = "eva_airlock_pump"},/obj/machinery/light{dir = 1},/obj/machinery/oxygen_pump{pixel_y = 32},/obj/floor_decal/techfloor{dir = 1},/turf/simulated/floor/tiled/techfloor/grid,/area/eva)
"pi" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume/external_air{id_tag = "eva_airlock_pump"},/obj/floor_decal/techfloor{dir = 1},/obj/machinery/embedded_controller/radio/airlock/airlock_controller{frequency = 1380; id_tag = "eva_airlock"; pixel_y = 20; tag_airpump = "eva_airlock_pump"; tag_chamber_sensor = "eva_airlock_sensor"; tag_exterior_door = "eva_airlock_outer"; tag_interior_door = "eva_airlock_inner"},/turf/simulated/floor/tiled/techfloor/grid,/area/eva)
"pj" = (/obj/machinery/light{dir = 1},/obj/machinery/oxygen_pump{pixel_y = 32},/obj/machinery/atmospherics/unary/vent_pump/high_volume/external_air{id_tag = "eva_airlock_pump"},/obj/floor_decal/techfloor{dir = 1},/turf/simulated/floor/tiled/techfloor/grid,/area/eva)
"pk" = (/obj/structure/table/rack{dir = 8},/obj/item/stack/material/glass/reinforced{amount = 50},/obj/item/stack/material/glass/reinforced{amount = 50},/obj/item/stack/material/glass{amount = 50},/obj/item/stack/material/glass{amount = 50},/obj/item/stack/material/glass{amount = 50},/obj/machinery/camera/network/fourth_deck{c_tag = "EVA - Center"; dir = 4},/obj/machinery/firealarm{dir = 8; pixel_x = -24; pixel_y = 6},/obj/floor_decal/corner/blue/half{dir = 8},/turf/simulated/floor/tiled/monotile,/area/eva)
"pk" = (/obj/structure/table/rack{dir = 8},/obj/item/stack/material/glass/reinforced{amount = 50},/obj/item/stack/material/glass/reinforced{amount = 50},/obj/item/stack/material/glass{amount = 50},/obj/item/stack/material/glass{amount = 50},/obj/item/stack/material/glass{amount = 50},/obj/machinery/firealarm{dir = 8; pixel_x = -24; pixel_y = 6},/obj/floor_decal/corner/blue/half{dir = 8},/turf/simulated/floor/tiled/monotile,/area/eva)
"pl" = (/turf/simulated/floor/tiled,/area/eva)
"pm" = (/obj/structure/table/steel_reinforced,/obj/item/device/radio/off,/obj/item/device/radio/off,/obj/item/device/radio/off,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/floor_decal/corner/blue/half{dir = 4},/turf/simulated/floor/tiled/monotile,/area/eva)
"pn" = (/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/newscaster{pixel_x = 32},/obj/floor_decal/industrial/warning/corner{dir = 4; icon_state = "warningcorner"},/turf/simulated/floor/tiled,/area/hallway/primary/fourthdeck/fore)
Expand Down Expand Up @@ -907,7 +907,7 @@
"rB" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume/external_air{dir = 1; id_tag = "eva_airlock_pump"},/obj/floor_decal/techfloor,/turf/simulated/floor/tiled/techfloor/grid,/area/eva)
"rC" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume/external_air{dir = 1; id_tag = "eva_airlock_pump"},/obj/floor_decal/techfloor,/obj/machinery/airlock_sensor{frequency = 1380; id_tag = "eva_airlock_sensor"; pixel_y = -25},/turf/simulated/floor/tiled/techfloor/grid,/area/eva)
"rD" = (/obj/item/device/radio/intercom{dir = 1; pixel_y = -28},/obj/machinery/atmospherics/unary/vent_pump/high_volume/external_air{dir = 1; id_tag = "eva_airlock_pump"},/obj/floor_decal/techfloor,/turf/simulated/floor/tiled/techfloor/grid,/area/eva)
"rE" = (/obj/structure/table/rack{dir = 8},/obj/item/storage/briefcase/inflatable{pixel_x = 3; pixel_y = 6},/obj/item/storage/briefcase/inflatable{pixel_y = 3},/obj/item/storage/briefcase/inflatable{pixel_x = -3},/obj/machinery/power/apc{dir = 8; name = "west bump"; pixel_x = -24},/obj/structure/cable/green{d2 = 4; icon_state = "0-4"},/obj/floor_decal/corner/blue/half{dir = 8},/turf/simulated/floor/tiled/monotile,/area/eva)
"rE" = (/obj/structure/table/rack{dir = 8},/obj/item/storage/briefcase/inflatable{pixel_x = 3; pixel_y = 6},/obj/item/storage/briefcase/inflatable{pixel_y = 3},/obj/item/storage/briefcase/inflatable{pixel_x = -3},/obj/machinery/power/apc{dir = 8; name = "west bump"; pixel_x = -24},/obj/structure/cable/green{d2 = 4; icon_state = "0-4"},/obj/floor_decal/corner/blue/half{dir = 8},/obj/machinery/camera/network/fourth_deck{c_tag = "EVA - Center"; dir = 4},/turf/simulated/floor/tiled/monotile,/area/eva)
"rF" = (/obj/machinery/atmospherics/pipe/simple/hidden,/obj/structure/cable/green{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled,/area/eva)
"rG" = (/obj/structure/cable/green{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled,/area/eva)
"rH" = (/obj/structure/cable/green{d1 = 1; d2 = 8; icon_state = "1-8"},/turf/simulated/floor/tiled,/area/eva)
Expand Down
2 changes: 1 addition & 1 deletion maps/torch_fd/torch3_deck3.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@
"mk" = (/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/door/airlock/hatch/maintenance,/obj/structure/cable/green{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/firedoor,/turf/simulated/floor/tiled/steel_ridged,/area/hallway/primary/thirddeck/fore)
"ml" = (/obj/structure/flora/ausbushes/fernybush,/turf/simulated/floor/grass,/area/crew_quarters/observation)
"mm" = (/obj/floor_decal/spline/fancy/wood,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/structure/cable/green{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/lino,/area/crew_quarters/galley)
"mn" = (/obj/structure/table/standard,/obj/machinery/chemical_dispenser/bar_coffee/full{dir = 8; layer = 2.23; pixel_y = 27},/obj/item/sticky_pad/random{pixel_x = 7; pixel_y = 10},/obj/machinery/fabricator/micro{pixel_x = -3},/turf/simulated/floor/carpet/blue,/area/crew_quarters/galley)
"mn" = (/obj/structure/table/standard,/obj/machinery/chemical_dispenser/bar_coffee/full{dir = 8; layer = 2.23; pixel_y = 27},/obj/item/sticky_pad/random{pixel_x = 7; pixel_y = 10},/obj/machinery/fabricator/micro/bartender{show_category = "All"; pixel_x = -3},/turf/simulated/floor/carpet/blue,/area/crew_quarters/galley)
"mo" = (/obj/floor_decal/spline/fancy/wood{dir = 4},/turf/simulated/floor/lino,/area/crew_quarters/galley)
"mp" = (/obj/floor_decal/corner/blue/border{dir = 8},/obj/floor_decal/corner/blue/border{dir = 4},/turf/simulated/floor/tiled/dark/monotile,/area/crew_quarters/mess)
"mq" = (/obj/structure/bed/sofa/r/black{dir = 8},/obj/floor_decal/corner/blue/border{dir = 8},/obj/floor_decal/corner/blue/border{dir = 4},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 9},/turf/simulated/floor/tiled/dark/monotile,/area/crew_quarters/mess)
Expand Down
10 changes: 5 additions & 5 deletions maps/torch_fd/torch_cameras.dm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var/const/NETWORK_EXPLO = "Exploration"
var/const/NETWORK_PETROV = "Petrov"
var/const/NETWORK_GUPS = "General Utility Pods" // 2 for the price of 1! :p
var/const/NETWORK_SUPPLY = "Supply"
var/const/NETWORK_YACHT = "Private Catamaran"
var/global/const/NETWORK_EXPLO = "Exploration"
var/global/const/NETWORK_PETROV = "Petrov"
var/global/const/NETWORK_GUPS = "General Utility Pods" // 2 for the price of 1! :p
var/global/const/NETWORK_SUPPLY = "Supply"
var/global/const/NETWORK_YACHT = "Private Catamaran"

/datum/map/torch/get_network_access(network)
switch(network)
Expand Down
Loading

0 comments on commit d50a1cb

Please sign in to comment.