Skip to content

Commit

Permalink
Merge branch 'master' into translate
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendaxe committed Jan 5, 2024
2 parents b3329d8 + 5675590 commit d0d3b72
Show file tree
Hide file tree
Showing 121 changed files with 2,085 additions and 1,251 deletions.
774 changes: 579 additions & 195 deletions _maps/map_files/cerestation/cerestation.dmm

Large diffs are not rendered by default.

54 changes: 33 additions & 21 deletions _maps/map_files/generic/centcomm.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1823,6 +1823,7 @@
dir = 4;
pixel_y = 8
},
/obj/machinery/economy/vending/cigarette,
/turf/simulated/floor/wood,
/area/ghost_bar)
"gT" = (
Expand Down Expand Up @@ -3686,7 +3687,7 @@
/area/admin)
"mz" = (
/obj/machinery/economy/vending/boozeomat,
/turf/simulated/wall/indestructible/riveted,
/turf/simulated/floor/wood,
/area/ghost_bar)
"mA" = (
/obj/structure/sign/poster/official/fruit_bowl,
Expand Down Expand Up @@ -5137,6 +5138,12 @@
/obj/item/stack/sheet/metal/fifty,
/turf/simulated/floor/plasteel/dark,
/area/centcom/specops)
"rq" = (
/obj/structure/closet/crate/can,
/turf/simulated/floor/plasteel{
icon_state = "cafeteria"
},
/area/ghost_bar)
"rr" = (
/obj/structure/table,
/obj/item/storage/box/beakers,
Expand Down Expand Up @@ -5679,10 +5686,10 @@
/turf/simulated/floor/plasteel/dark,
/area/centcom/specops)
"tr" = (
/turf/simulated/floor/wood{
broken = 1;
icon_state = "wood-broken"
/obj/machinery/light/small{
dir = 1
},
/turf/simulated/floor/wood,
/area/ghost_bar)
"ts" = (
/obj/machinery/atmospherics/portable/canister/oxygen,
Expand Down Expand Up @@ -6703,6 +6710,7 @@
desc = "Used to grind things up into raw materials and liquids.";
pixel_y = 5
},
/obj/item/reagent_containers/glass/beaker/large,
/turf/simulated/floor/plasteel{
icon_state = "cafeteria"
},
Expand Down Expand Up @@ -6987,7 +6995,6 @@
"xU" = (
/obj/structure/table/reinforced,
/obj/machinery/kitchen_machine/microwave/upgraded,
/obj/machinery/light/small,
/turf/simulated/floor/plasteel{
icon_state = "cafeteria"
},
Expand All @@ -6997,10 +7004,7 @@
/turf/simulated/floor/plasteel/dark,
/area/ghost_bar)
"xY" = (
/obj/machinery/economy/vending/cigarette,
/obj/machinery/light/small{
dir = 1
},
/obj/structure/closet/crate/can,
/turf/simulated/floor/wood,
/area/ghost_bar)
"xZ" = (
Expand Down Expand Up @@ -7288,6 +7292,13 @@
/obj/machinery/computer/cryopod/robot,
/turf/simulated/wall/indestructible/riveted,
/area/centcom/specops)
"zP" = (
/obj/machinery/light/small,
/obj/machinery/economy/vending/dinnerware,
/turf/simulated/floor/plasteel{
icon_state = "cafeteria"
},
/area/ghost_bar)
"zQ" = (
/obj/machinery/light/small,
/turf/simulated/floor/plasteel/freezer,
Expand Down Expand Up @@ -13851,6 +13862,7 @@
/obj/machinery/light/small{
dir = 8
},
/obj/structure/closet/crate/can,
/turf/simulated/floor/wood,
/area/ghost_bar)
"Xb" = (
Expand Down Expand Up @@ -72235,7 +72247,7 @@ Jy
vd
vd
vd
Jy
rf
Me
EX
Jy
Expand Down Expand Up @@ -72492,7 +72504,7 @@ Jy
vd
cX
vd
rf
xY
Me
wh
rd
Expand Down Expand Up @@ -73785,8 +73797,8 @@ Me
Me
Me
Me
xY
Jy
Me
tr
Jy
qH
Nm
Expand Down Expand Up @@ -74041,8 +74053,8 @@ es
Oj
zj
fF
Me
Jy
rq
aT
Jy
ip
Jy
Expand Down Expand Up @@ -74298,9 +74310,9 @@ es
es
es
es
es
Uk
Jy
Jy
ol
ol
Hz
Expand Down Expand Up @@ -74555,8 +74567,8 @@ wN
Dk
zY
xU
zP
Me
tr
Jy
rG
hU
Expand Down Expand Up @@ -74812,8 +74824,8 @@ Me
Me
Me
Me
aT
Jy
Me
Me
Jy
RX
RX
Expand Down Expand Up @@ -75070,9 +75082,9 @@ ps
ps
ps
Me
Jy
Me
gS
Jy
xY
Me
Me
Me
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/_init.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// This exists so that world.Profile() is THE FIRST PROC TO RUN in the init sequence.
// This allows us to get the real details of everything lagging at server start.
world.Profile(PROFILE_START)
#if defined(ENABLE_BYOND_TRACY) && (DM_BUILD == 1589)
#if defined(ENABLE_BYOND_TRACY)
var/tracy_init = CALL_EXT("prof.dll", "init")() // Setup Tracy integration
if(tracy_init != "0")
CRASH("Tracy init error: [tracy_init]")
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/_tgs_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define TGS_DEFINE_AND_SET_GLOBAL(Name, Value) GLOBAL_VAR_INIT(##Name, ##Value); GLOBAL_PROTECT(##Name)
#define TGS_READ_GLOBAL(Name) GLOB.##Name
#define TGS_WRITE_GLOBAL(Name, Value) GLOB.##Name = ##Value
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, "<span class='boldannounce'>[html_encode(##message)]</span>")
#define TGS_WORLD_ANNOUNCE(message) to_chat(world, "<hr><span class='boldannounce'>Host Announcement: [html_encode(##message)]</span><hr>")
#define TGS_INFO_LOG(message) log_tgs(message, "INF")
#define TGS_WARNING_LOG(message) log_tgs(message, "WRN")
#define TGS_ERROR_LOG(message) log_tgs(message, "ERR")
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/bots.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#define BOT_NAV 15 // computing navigation
#define BOT_WAIT_FOR_NAV 16 // waiting for nav computation
#define BOT_NO_ROUTE 17 // no destination beacon found (or no route)
#define BOT_MAKE_TILE 18 // converting metal into tiles (floorbots)
#define BOT_EAT_TILE 19 // adding said tiles to inventory (floorbots)

//Bot types
#define SEC_BOT 1 // Secutritrons (Beepsky) and ED-209s
Expand Down
39 changes: 30 additions & 9 deletions code/__DEFINES/tgs.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tgstation-server DMAPI

#define TGS_DMAPI_VERSION "6.5.0"
#define TGS_DMAPI_VERSION "7.0.0"

// All functions and datums outside this document are subject to change with any version and should not be relied on.

Expand Down Expand Up @@ -73,12 +73,12 @@
#define TGS_EVENT_REPO_MERGE_PULL_REQUEST 3
/// Before the repository makes a sychronize operation. Parameters: Absolute repostiory path.
#define TGS_EVENT_REPO_PRE_SYNCHRONIZE 4
/// Before a BYOND install operation begins. Parameters: [/datum/tgs_version] of the installing BYOND.
#define TGS_EVENT_BYOND_INSTALL_START 5
/// When a BYOND install operation fails. Parameters: Error message
#define TGS_EVENT_BYOND_INSTALL_FAIL 6
/// When the active BYOND version changes. Parameters: (Nullable) [/datum/tgs_version] of the current BYOND, [/datum/tgs_version] of the new BYOND.
#define TGS_EVENT_BYOND_ACTIVE_VERSION_CHANGE 7
/// Before a engine install operation begins. Parameters: Version string of the installing engine.
#define TGS_EVENT_ENGINE_INSTALL_START 5
/// When a engine install operation fails. Parameters: Error message
#define TGS_EVENT_ENGINE_INSTALL_FAIL 6
/// When the active engine version changes. Parameters: (Nullable) Version string of the current engine, version string of the new engine.
#define TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGE 7
/// When the compiler starts running. Parameters: Game directory path, origin commit SHA.
#define TGS_EVENT_COMPILE_START 8
/// When a compile is cancelled. No parameters.
Expand Down Expand Up @@ -108,7 +108,7 @@
// #define TGS_EVENT_DREAM_DAEMON_LAUNCH 22
/// After a single submodule update is performed. Parameters: Updated submodule name.
#define TGS_EVENT_REPO_SUBMODULE_UPDATE 23
/// After CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path, origin commit sha, byond version.
/// After CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path, origin commit sha, version string of the used engine.
#define TGS_EVENT_PRE_DREAM_MAKER 24
/// Whenever a deployment folder is deleted from disk. Parameters: Game directory path.
#define TGS_EVENT_DEPLOYMENT_CLEANUP 25
Expand All @@ -122,13 +122,26 @@
/// The watchdog will restart on reboot.
#define TGS_REBOOT_MODE_RESTART 2

// Note that security levels are currently meaningless in OpenDream
/// DreamDaemon Trusted security level.
#define TGS_SECURITY_TRUSTED 0
/// DreamDaemon Safe security level.
#define TGS_SECURITY_SAFE 1
/// DreamDaemon Ultrasafe security level.
#define TGS_SECURITY_ULTRASAFE 2

/// DreamDaemon public visibility level.
#define TGS_VISIBILITY_PUBLIC 0
/// DreamDaemon private visibility level.
#define TGS_VISIBILITY_PRIVATE 1
/// DreamDaemon invisible visibility level.
#define TGS_VISIBILITY_INVISIBLE 2

/// The Build Your Own Net Dream engine.
#define TGS_ENGINE_TYPE_BYOND 0
/// The OpenDream engine.
#define TGS_ENGINE_TYPE_OPENDREAM 1

//REQUIRED HOOKS

/**
Expand All @@ -154,7 +167,7 @@
#define TGS_TOPIC var/tgs_topic_return = TgsTopic(args[1]); if(tgs_topic_return) return tgs_topic_return

/**
* Call this as late as possible in [world/proc/Reboot].
* Call this as late as possible in [world/proc/Reboot] (BEFORE ..()).
*/
/world/proc/TgsReboot()
return
Expand Down Expand Up @@ -442,6 +455,10 @@
/world/proc/TgsVersion()
return

/// Returns the running engine type
/world/proc/TgsEngine()
return

/// Returns the current [/datum/tgs_version] of the DMAPI being used if it was activated, null otherwise. This function may sleep if the call to [/world/proc/TgsNew] is sleeping!
/world/proc/TgsApiVersion()
return
Expand All @@ -458,6 +475,10 @@
/world/proc/TgsSecurityLevel()
return

/// Returns the current BYOND visibility level as a TGS_VISIBILITY_ define if TGS is present, null otherwise. Requires TGS to be using interop API version 5 or higher otherwise the string "___unimplemented" wil be returned. This function may sleep if the call to [/world/proc/TgsNew] is sleeping!
/world/proc/TgsVisibility()
return

/// Returns a list of active [/datum/tgs_revision_information/test_merge]s if TGS is present, null otherwise. This function may sleep if the call to [/world/proc/TgsNew] is sleeping!
/world/proc/TgsTestMerges()
return
Expand Down
4 changes: 3 additions & 1 deletion code/_globalvars/lists/reagents_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ GLOBAL_LIST_INIT(blocked_chems, list("polonium", "initropidril", "concentrated_i
"spidereggs", "heartworms", "bacon_grease",
"fungalspores", "jagged_crystals", "salmonella",
"lavaland_extract", "stable_mutagen", "beer2",
"curare", "gluttonytoxin", "smoke_powder", "stimulative_cling"))
"curare", "gluttonytoxin", "smoke_powder", "stimulative_cling",
"teslium_paste"
))
9 changes: 8 additions & 1 deletion code/controllers/subsystem/SSticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -657,13 +657,20 @@ SUBSYSTEM_DEF(ticker)

/datum/controller/subsystem/ticker/proc/setup_news_feeds()
var/datum/feed_channel/newChannel = new /datum/feed_channel
newChannel.channel_name = "Public Station Announcements"
newChannel.channel_name = "Station Announcements Log"
newChannel.author = "Automated Announcement Listing"
newChannel.icon = "bullhorn"
newChannel.frozen = TRUE
newChannel.admin_locked = TRUE
GLOB.news_network.channels += newChannel

newChannel = new /datum/feed_channel
newChannel.channel_name = "Public Station Announcements"
newChannel.author = "Automated Announcement Listing"
newChannel.icon = "users"
newChannel.is_public = TRUE
GLOB.news_network.channels += newChannel

newChannel = new /datum/feed_channel
newChannel.channel_name = "Nyx Daily"
newChannel.author = "CentComm Minister of Information"
Expand Down
4 changes: 2 additions & 2 deletions code/datums/diseases/_disease.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease))

//Other
var/list/viable_mobtypes = list() //typepaths of viable mobs
var/mob/living/carbon/affected_mob = null
var/mob/living/carbon/affected_mob
var/list/cures = list() //list of cures if the disease has the CURABLE flag, these are reagent ids
var/infectivity = 65
var/cure_chance = 8
var/carrier = FALSE //If our host is only a carrier
var/bypasses_immunity = FALSE //Does it skip species virus immunity check? Some things may diseases and not viruses
var/virus_heal_resistant = FALSE // Some things aren't technically viruses/traditional diseases and should be immune to edge case cure methods, like healing viruses.
var/permeability_mod = 1
var/severity = NONTHREAT
var/severity = NONTHREAT
var/list/required_organs = list()
var/needs_all_cures = TRUE
var/list/strain_data = list() //dna_spread special bullshit
Expand Down
4 changes: 2 additions & 2 deletions code/datums/diseases/anxiety.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
agent = "Excess Lepidopticides"
viable_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/human/monkey)
desc = "If left untreated subject will regurgitate butterflies."
severity = MEDIUM
severity = MINOR

/datum/disease/anxiety/stage_act()
if(!..())
return FALSE
switch(stage)
if(2) //also changes say, see say.dm
if(2)
if(prob(5))
to_chat(affected_mob, "<span class='notice'>You feel anxious.</span>")
if(3)
Expand Down
3 changes: 1 addition & 2 deletions code/datums/diseases/appendicitis.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
cure_text = "Surgery"
agent = "Shitty Appendix"
viable_mobtypes = list(/mob/living/carbon/human)
permeability_mod = 1
desc = "If left untreated the subject will become very weak, and may vomit often."
severity = "Dangerous!"
severity = MINOR
disease_flags = CAN_CARRY|CAN_RESIST
visibility_flags = HIDDEN_PANDEMIC
required_organs = list(/obj/item/organ/internal/appendix)
Expand Down
6 changes: 2 additions & 4 deletions code/datums/diseases/beesease.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
agent = "Apidae Infection"
viable_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/human/monkey)
desc = "If left untreated subject will regurgitate bees."
severity = DANGEROUS
severity = BIOHAZARD

/datum/disease/beesease/stage_act()
if(!..())
return FALSE
switch(stage)
if(2) //also changes say, see say.dm // no it doesn't, that's horrifyingly snowflakey
if(2)
if(prob(2))
to_chat(affected_mob, "<span class='notice'>You taste honey in your mouth.</span>")
if(3)
Expand All @@ -35,6 +35,4 @@
affected_mob.visible_message("<span class='danger'>[affected_mob] coughs up a swarm of bees!</span>", \
"<span class='userdanger'>You cough up a swarm of bees!</span>")
new /mob/living/simple_animal/hostile/poison/bees(affected_mob.loc)
//if(5)
//Plus if you die, you explode into bees
return
Loading

0 comments on commit d0d3b72

Please sign in to comment.