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 May 20, 2024
2 parents 5c1f353 + bc91410 commit 2ffad6e
Show file tree
Hide file tree
Showing 178 changed files with 3,212 additions and 1,336 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge_upstream_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Rebuild TGUI
run: |
if git diff-tree --name-only -r $(git rev-parse HEAD~2) | grep "tgui/public/"
if git diff-tree --name-only -r $(git rev-parse HEAD~2) | grep "tgui/public/" ; then
bash tgui/bin/tgui
git commit -m "Rebuild TGUI"
git push origin
Expand Down
5 changes: 4 additions & 1 deletion SQL/paradise_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,11 @@ CREATE TABLE `notes` (
`server` varchar(50) NOT NULL,
`crew_playtime` mediumint(8) UNSIGNED DEFAULT '0',
`automated` TINYINT(3) UNSIGNED NULL DEFAULT '0',
`deleted` TINYINT(4) NOT NULL DEFAULT '0',
`deletedby` VARCHAR(32) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`id`),
KEY `ckey` (`ckey`)
KEY `ckey` (`ckey`),
KEY `deleted` (`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;

Expand Down
7 changes: 7 additions & 0 deletions SQL/updates/55-56.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Updating DB from 55-56 ~AffectedArc07
# Adds a new column to the notes table for tracking deleted notes
ALTER TABLE `notes`
ADD COLUMN `deleted` TINYINT NOT NULL DEFAULT 0 AFTER `automated`,
ADD COLUMN `deletedby` VARCHAR(32) NULL DEFAULT NULL AFTER `deleted`,
ADD INDEX `deleted` (`deleted`);

13 changes: 9 additions & 4 deletions _maps/map_files/generic/centcomm.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,11 @@
icon_state = "green"
},
/area/holodeck/source_emptycourt)
"cb" = (
/obj/structure/closet/abductor,
/obj/item/storage/belt/janitor/abductor/full,
/turf/simulated/floor/plating/abductor,
/area/abductor_ship)
"cc" = (
/obj/structure/window/reinforced{
dir = 1
Expand Down Expand Up @@ -46742,7 +46747,7 @@ aN
aN
lz
lz
nr
cb
bK
nr
lz
Expand All @@ -46756,7 +46761,7 @@ aN
aN
lz
lz
nr
cb
bK
nr
lz
Expand Down Expand Up @@ -50340,7 +50345,7 @@ aN
aN
lz
lz
nr
cb
bK
nr
lz
Expand All @@ -50354,7 +50359,7 @@ aN
aN
lz
lz
nr
cb
bK
nr
lz
Expand Down
17 changes: 5 additions & 12 deletions _maps/map_files/stations/boxstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -52327,12 +52327,6 @@
icon_state = "vault"
},
/area/station/engineering/gravitygenerator)
"dCJ" = (
/obj/structure/transit_tube/cap{
dir = 8
},
/turf/simulated/floor/plating,
/area/station/turret_protected/aisat/interior)
"dCM" = (
/obj/structure/disposalpipe/segment{
dir = 4
Expand Down Expand Up @@ -57689,10 +57683,12 @@
layer = 4;
pixel_y = 32
},
/obj/structure/transit_tube/station,
/obj/structure/transit_tube_pod{
dir = 4
},
/obj/structure/transit_tube/station/reverse/flipped{
dir = 1
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
Expand Down Expand Up @@ -64056,9 +64052,6 @@
name = "north bump";
pixel_y = 24
},
/obj/structure/transit_tube/cap{
dir = 4
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
Expand Down Expand Up @@ -72430,11 +72423,11 @@
/turf/simulated/floor/plasteel,
/area/station/supply/storage)
"nrh" = (
/obj/structure/transit_tube/station,
/obj/structure/transit_tube_pod{
dir = 8
},
/obj/machinery/atmospherics/pipe/simple/visible/yellow,
/obj/structure/transit_tube/station/reverse,
/turf/simulated/floor/plating,
/area/station/turret_protected/aisat/interior)
"nrD" = (
Expand Down Expand Up @@ -131948,7 +131941,7 @@ aab
aaa
cQp
wza
dCJ
dnW
dnv
dnW
diz
Expand Down
7 changes: 1 addition & 6 deletions _maps/map_files/stations/deltastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -87549,9 +87549,6 @@
/area/station/maintenance/starboard)
"rjL" = (
/obj/effect/decal/cleanable/dirt,
/obj/structure/transit_tube/cap{
dir = 8
},
/obj/item/radio/intercom{
name = "south bump";
pixel_y = -28
Expand Down Expand Up @@ -97341,9 +97338,7 @@
/obj/machinery/ai_status_display{
pixel_y = -32
},
/obj/structure/transit_tube/station{
dir = 1
},
/obj/structure/transit_tube/station/reverse/flipped,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
Expand Down
7 changes: 3 additions & 4 deletions _maps/map_files/stations/metastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -19446,10 +19446,12 @@
/turf/simulated/floor/wood,
/area/station/command/office/captain/bedroom)
"bsI" = (
/obj/structure/transit_tube/station,
/obj/structure/sign/securearea{
pixel_y = 32
},
/obj/structure/transit_tube/station/reverse/flipped{
dir = 1
},
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkbluecorners"
Expand Down Expand Up @@ -53883,9 +53885,6 @@
},
/area/station/medical/virology)
"hkm" = (
/obj/structure/transit_tube/cap{
dir = 4
},
/obj/machinery/status_display{
layer = 4;
pixel_y = 32
Expand Down
14 changes: 5 additions & 9 deletions _maps/map_files220/stations/boxstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -41614,9 +41614,6 @@
/area/station/maintenance/turbine)
"dgT" = (
/obj/machinery/firealarm/directional/north,
/obj/structure/transit_tube/cap{
dir = 4
},
/turf/simulated/floor/plasteel{
dir = 5;
icon_state = "darkblue"
Expand Down Expand Up @@ -58643,7 +58640,9 @@
/area/station/maintenance/aft)
"iuO" = (
/obj/machinery/status_display/directional/north,
/obj/structure/transit_tube/station,
/obj/structure/transit_tube/station/reverse/flipped{
dir = 1
},
/turf/simulated/floor/plasteel{
icon_state = "darkbluefull"
},
Expand Down Expand Up @@ -82397,9 +82396,6 @@
/area/station/maintenance/asmaint)
"raN" = (
/obj/effect/turf_decal/stripes/end,
/obj/structure/transit_tube/cap{
dir = 1
},
/turf/simulated/floor/plating,
/area/station/turret_protected/aisat/interior)
"raP" = (
Expand Down Expand Up @@ -91643,8 +91639,8 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"uwh" = (
/obj/structure/transit_tube/station{
dir = 4
/obj/structure/transit_tube/station/reverse/flipped{
dir = 8
},
/obj/structure/transit_tube_pod{
dir = 1
Expand Down
7 changes: 1 addition & 6 deletions _maps/map_files220/stations/deltastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -50395,9 +50395,6 @@
"eJn" = (
/obj/item/radio/intercom/directional/south,
/obj/effect/decal/cleanable/dirt,
/obj/structure/transit_tube/cap{
dir = 8
},
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
Expand Down Expand Up @@ -58052,9 +58049,7 @@
/area/station/supply/miningdock)
"hgg" = (
/obj/machinery/ai_status_display/south,
/obj/structure/transit_tube/station{
dir = 1
},
/obj/structure/transit_tube/station/reverse/flipped,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
Expand Down
7 changes: 3 additions & 4 deletions _maps/map_files220/stations/metastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -19028,7 +19028,9 @@
/turf/simulated/floor/wood,
/area/station/command/office/captain/bedroom)
"bsI" = (
/obj/structure/transit_tube/station,
/obj/structure/transit_tube/station/reverse/flipped{
dir = 1
},
/obj/structure/sign/securearea{
pixel_y = 32
},
Expand Down Expand Up @@ -52918,9 +52920,6 @@
},
/area/station/medical/virology)
"hkm" = (
/obj/structure/transit_tube/cap{
dir = 4
},
/obj/machinery/status_display/directional/north,
/obj/effect/turf_decal/stripes/corner{
dir = 1
Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/atmospherics_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@

//LAVALAND
#define LAVALAND_EQUIPMENT_EFFECT_PRESSURE 50 //what pressure you have to be under to increase the effect of equipment meant for lavaland
#define LAVALAND_TEMPERATURE 500
#define LAVALAND_OXYGEN 8
#define LAVALAND_NITROGEN 14

// Reactions
#define N2O_DECOMPOSITION_MIN_ENERGY 1400
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/dcs/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@
#define COMSIG_MIND_TRANSER_TO "mind_transfer_to"
///called on the mob instead of the mind
#define COMSIG_BODY_TRANSFER_TO "body_transfer_to"
///called when the mind is initialized (called every time the mob logins)
#define COMSIG_MIND_INITIALIZE "mind_initialize"

// /mob signals

Expand Down
11 changes: 11 additions & 0 deletions code/__DEFINES/emotes_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
#define EMOTE_TARGET_BHVR_RAW 4
/// The emote target should be just a number. Anything else will be rejected.
#define EMOTE_TARGET_BHVR_NUM 5
/// The emote target is used elsewhere, and processing should be skipped.
#define EMOTE_TARGET_BHVR_IGNORE 6

// This set determines the type of target that we want to check for.

Expand All @@ -75,3 +77,12 @@

/// List of emotes useable by ghosties
#define USABLE_DEAD_EMOTES list("*flip", "*spin")

// Strings used for the rock paper scissors emote and status effect
#define RPS_EMOTE_ROCK "rock"
#define RPS_EMOTE_PAPER "paper"
#define RPS_EMOTE_SCISSORS "scissors"

#define RPS_EMOTE_THEY_WIN "aww"
#define RPS_EMOTE_WE_WIN "yay"
#define RPS_EMOTE_TIE "tie"
10 changes: 9 additions & 1 deletion code/__DEFINES/food_defines.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
// Used for secondary goals.
/// Used for secondary goals.
/// TOO easy, not accepted for variety goals.
#define FOOD_GOAL_SKIP 0
/// Easy food, ask for a lot for single goals.
#define FOOD_GOAL_EASY 1
/// Normal food, ask for a middling amount for single goals.
#define FOOD_GOAL_NORMAL 2
/// Hard reagent, ask for a little for single goals.
#define FOOD_GOAL_HARD 3
/// TOO hard, accepted for variety goals, but never used for single goals.
#define FOOD_GOAL_EXCESSIVE 4
/// Same as FOOD_GOAL_EXCESSIVE, just different name to indicate that there's another version of this food that's used in variety goals.
#define FOOD_GOAL_DUPLICATE FOOD_GOAL_EXCESSIVE
6 changes: 6 additions & 0 deletions code/__DEFINES/mecha_hides.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#define HIDES_COVERED_FULL 3
#define PLATES_COVERED_FULL 3

#define DRAKE_HIDES_COVERED_SLIGHT 1
#define DRAKE_HIDES_COVERED_MODERATE 2
#define DRAKE_HIDES_COVERED_FULL 3
6 changes: 5 additions & 1 deletion code/__DEFINES/misc_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@
0.4,0.6,0.0,\
0.2,0.2,0.6)

#define MATRIX_STANDARD list(1.0,0.0,0.0,\
0.0,1.0,0.0,\
0.0,0.0,1.0)

/*
Used for wire name appearances. Replaces the color name on the left with the one on the right.
The color on the left is the one used as the actual color of the wire, but it doesn't look good when written.
Expand Down Expand Up @@ -398,7 +402,7 @@
#define INVESTIGATE_BOMB "bombs"

// The SQL version required by this version of the code
#define SQL_VERSION 552206 // SS220 EDIT
#define SQL_VERSION 562206 // SS220 EDIT

// Vending machine stuff
#define CAT_NORMAL (1<<0)
Expand Down
13 changes: 13 additions & 0 deletions code/__DEFINES/particle_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@
#define DEBRIS_GLASS "glass"
#define DEBRIS_LEAF "leaf"
#define DEBRIS_SNOW "snow"

/*
* Generator defines
*/

#define GEN_NUM "num"
#define GEN_VECTOR "vector"
#define GEN_BOX "box"
#define GEN_COLOR "color"
#define GEN_CIRCLE "circle"
#define GEN_SPHERE "sphere"
#define GEN_SQUARE "square"
#define GEN_CUBE "cube"
6 changes: 6 additions & 0 deletions code/__DEFINES/reagents_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@
#define BLOOD_TYPE_FAKE_BLOOD "Vh Null"

/// Used for secondary goals.
/// TOO easy, not accepted for variety goals.
#define REAGENT_GOAL_SKIP 0
/// Easy reagent, ask for a lot for single goals.
#define REAGENT_GOAL_EASY 1
/// Normal reagent, ask for a middling amount for single goals.
#define REAGENT_GOAL_NORMAL 2
/// Hard reagent, ask for a little for single goals.
#define REAGENT_GOAL_HARD 3
/// TOO hard, accepted for variety goals, but never used for single goals.
#define REAGENT_GOAL_EXCESSIVE 4
1 change: 1 addition & 0 deletions code/__DEFINES/status_effects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
#define STATUS_EFFECT_HIGHFIVE /datum/status_effect/high_five
#define STATUS_EFFECT_DAP /datum/status_effect/high_five/dap
#define STATUS_EFFECT_HANDSHAKE /datum/status_effect/high_five/handshake
#define STATUS_EFFECT_RPS /datum/status_effect/high_five/rps

#define STATUS_EFFECT_CHARGING /datum/status_effect/charging

Expand Down
2 changes: 2 additions & 0 deletions code/_onclick/hud/radial.dm
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ GLOBAL_LIST_EMPTY(radial_menus)
return
else
next_check = world.time + check_delay
// if you're wondering why your radial menus aren't clickable while debugging:
// it's probably the stoplag call here, try it again without any breakpoints
stoplag(1)

/datum/radial_menu/Destroy()
Expand Down
Loading

0 comments on commit 2ffad6e

Please sign in to comment.