Skip to content

Commit 19842c1

Browse files
Merge pull request #131 from MistakeNot4892/pyrelight
Updating from Neb dev.
2 parents fdeefbf + 0889415 commit 19842c1

File tree

616 files changed

+5269
-4625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

616 files changed

+5269
-4625
lines changed

.github/workflows/generate_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
SPACEMAN_DMM_VERSION: suite-1.9
10+
SPACEMAN_DMM_VERSION: suite-1.11
1111

1212
jobs:
1313
generate_documentation:

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ on:
1414
workflow_dispatch:
1515

1616
env:
17-
BYOND_MAJOR: "515"
18-
BYOND_MINOR: "1647"
19-
SPACEMAN_DMM_VERSION: suite-1.9
17+
BYOND_MAJOR: "516"
18+
BYOND_MINOR: "1663"
19+
SPACEMAN_DMM_VERSION: suite-1.11
2020

2121
jobs:
2222
DreamChecker:
23-
runs-on: ubuntu-22.04
23+
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v3
2626
- name: Setup Cache
@@ -52,7 +52,7 @@ jobs:
5252
chmod +x send.sh
5353
./send.sh failure $WEBHOOK_URL
5454
OpenDream:
55-
runs-on: ubuntu-22.04
55+
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v3
5858
- name: Python setup
@@ -69,7 +69,7 @@ jobs:
6969
- name: Run OpenDream
7070
run: ./DMCompiler_linux-x64/DMCompiler nebula.dme --define=UNIT_TEST --suppress-unimplemented --skip-anything-typecheck --version=${BYOND_MAJOR}.${BYOND_MINOR} | bash test/annotate_od.sh
7171
Code:
72-
runs-on: ubuntu-22.04
72+
runs-on: ubuntu-latest
7373
steps:
7474
- uses: actions/checkout@v3
7575
- name: Setup Cache
@@ -95,7 +95,7 @@ jobs:
9595
chmod +x send.sh
9696
./send.sh failure $WEBHOOK_URL
9797
Maps:
98-
runs-on: ubuntu-22.04
98+
runs-on: ubuntu-latest
9999
strategy:
100100
matrix:
101101
map_path: [example, tradeship, exodus, ministation, shaded_hills, karzerfeste, away_sites_testing, modpack_testing, planets_testing]

code/__defines/hydroponics.dm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@
6262
#define GROWTH_VINES "vines"
6363
#define GROWTH_BIOMASS "mass"
6464
#define GROWTH_MOLD "mold"
65+
66+
#define PLANT_SEG_BODY "body" // Non-dissectable plants
67+
68+
#define PLANT_STATE_FRESH "fresh"
69+
#define PLANT_STATE_ROASTED "roasted"
70+
#define PLANT_STATE_DRIED "dried"

code/__defines/tools.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define TOOL_PEN /decl/tool_archetype/pen
1818
#define TOOL_STAMP /decl/tool_archetype/stamp
1919
#define TOOL_SHEARS /decl/tool_archetype/shears
20+
#define TOOL_CHISEL /decl/tool_archetype/chisel
2021

2122
// Surgical tools.
2223
#define TOOL_SCALPEL /decl/tool_archetype/scalpel
@@ -63,7 +64,7 @@
6364
#define IS_HAMMER(A) IS_TOOL(A, TOOL_HAMMER)
6465
#define IS_HOE(A) IS_TOOL(A, TOOL_HOE)
6566
#define IS_SHEARS(A) IS_TOOL(A, TOOL_SHEARS)
66-
67+
#define IS_CHISEL(A) IS_TOOL(A, TOOL_CHISEL)
6768
#define IS_HEMOSTAT(A) IS_TOOL(A, TOOL_HEMOSTAT)
6869
#define IS_RETRACTOR(A) IS_TOOL(A, TOOL_RETRACTOR)
6970

code/__globals.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Defined here due to being used immediately below.
22
#define GET_DECL(D) (ispath(D, /decl) ? (decls_repository.fetched_decls[D] || decls_repository.get_decl(D)) : null)
33
#define IMPLIED_DECL GET_DECL(__IMPLIED_TYPE__)
4-
#define RESOLVE_TO_DECL(D) (istype(D, /decl) ? D : GET_DECL(D))
4+
#define RESOLVE_TO_DECL(D) (istype(D, /decl) ? D : (istext(D) ? decls_repository.get_decl_by_id(D, validate_decl_type = FALSE) : GET_DECL(D)))
5+
#define DECLS_ARE_EQUIVALENT(F, S) ((RESOLVE_TO_DECL(F) == RESOLVE_TO_DECL(S)))
56

67
// Defined here due to compile order; overrides in macros make the compiler complain.
78
/decl/global_vars

code/_helpers/logging.dm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ var/global/log_end= world.system_type == UNIX ? ascii2text(13) : ""
212212
return json_encode(d)
213213
return d.get_log_info_line()
214214

215+
var/global/_gag_report_progress = 0
215216
/proc/report_progress(var/progress_message)
216-
admin_notice("<span class='boldannounce'>[progress_message]</span>", R_DEBUG)
217-
log_world(progress_message)
217+
if(global._gag_report_progress <= 0)
218+
admin_notice("<span class='boldannounce'>[progress_message]</span>", R_DEBUG)
219+
to_world_log(progress_message)

code/_helpers/mobs.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
if(current_species)
1414
var/decl/background_detail/background = current_species.get_default_background_datum_by_flag(BACKGROUND_FLAG_NAMING)
1515
if(background)
16-
return background.get_random_name(null, gender)
16+
return background.get_random_cultural_name(gender = gender, species = species)
17+
1718
return capitalize(pick(gender == FEMALE ? global.using_map.first_names_female : global.using_map.first_names_male)) + " " + capitalize(pick(global.using_map.last_names))
1819

1920
/proc/random_skin_tone(var/decl/bodytype/current_bodytype)

code/_helpers/unsorted.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ Turf and target are seperate in case you want to teleport some distance from a t
715715
Checks if that loc and dir has a item on the wall
716716
*/
717717
var/global/list/WALLITEMS = list(
718-
/obj/machinery/power/apc, /obj/machinery/alarm, /obj/item/radio/intercom,
718+
/obj/machinery/apc, /obj/machinery/alarm, /obj/item/radio/intercom,
719719
/obj/structure/extinguisher_cabinet, /obj/structure/reagent_dispensers/peppertank,
720720
/obj/machinery/status_display, /obj/machinery/network/requests_console, /obj/machinery/light_switch, /obj/structure/sign,
721721
/obj/machinery/newscaster, /obj/machinery/firealarm, /obj/structure/noticeboard,

code/_onclick/ai.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
Topic(src, list("command"="bolts", "activate" = "1"))
159159
return TRUE
160160

161-
/obj/machinery/power/apc/AICtrlClick(mob/living/silicon/user) // turns off/on APCs.
161+
/obj/machinery/apc/AICtrlClick(mob/living/silicon/user) // turns off/on APCs.
162162
if(user.incapacitated())
163163
return FALSE
164164
Topic(src, list("breaker"="1"))

code/_onclick/cyborg.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
/obj/machinery/door/airlock/BorgCtrlClick(mob/living/silicon/robot/user) // Bolts doors. Forwards to AI code.
122122
return AICtrlClick(user)
123123

124-
/obj/machinery/power/apc/BorgCtrlClick(mob/living/silicon/robot/user) // turns off/on APCs. Forwards to AI code.
124+
/obj/machinery/apc/BorgCtrlClick(mob/living/silicon/robot/user) // turns off/on APCs. Forwards to AI code.
125125
return AICtrlClick(user)
126126

127127
/obj/machinery/turretid/BorgCtrlClick(mob/living/silicon/robot/user) //turret control on/off. Forwards to AI code.

0 commit comments

Comments
 (0)