Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit b1a939b

Browse files
committed
Merge remote-tracking branch 'upstream/master' into PortsPsionics
2 parents e4288cc + 5f50fa8 commit b1a939b

File tree

28 files changed

+99
-37
lines changed

28 files changed

+99
-37
lines changed

code/__DEFINES/{yogs_defines}/mobs.dm

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,27 @@
1616
#define SPECIES_VOX "vox"
1717

1818
#define BUTT_SPRITE_VOX "vox"
19+
20+
21+
GLOBAL_REAL_VAR(list/voice_type2sound = list(
22+
"1" = list(
23+
"1" = sound('goon/sound/speak_1.ogg'),
24+
"!" = sound('goon/sound/speak_1_exclaim.ogg'),
25+
"?" = sound('goon/sound/speak_1_ask.ogg')
26+
),
27+
"2" = list(
28+
"2" = sound('goon/sound/speak_2.ogg'),
29+
"!" = sound('goon/sound/speak_2_exclaim.ogg'),
30+
"?" = sound('goon/sound/speak_2_ask.ogg')
31+
),
32+
"3" = list(
33+
"3" = sound('goon/sound/speak_3.ogg'),
34+
"!" = sound('goon/sound/speak_3_exclaim.ogg'),
35+
"?" = sound('goon/sound/speak_3_ask.ogg')
36+
),
37+
"4" = list(
38+
"4" = sound('goon/sound/speak_4.ogg'),
39+
"!" = sound('goon/sound/speak_4_exclaim.ogg'),
40+
"?" = sound('goon/sound/speak_4_ask.ogg')
41+
),
42+
))

code/modules/antagonists/eldritch_cult/knowledge/void_lore.dm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
RegisterSignal(user, COMSIG_HERETIC_MANSUS_GRASP_ATTACK, PROC_REF(on_mansus_grasp))
1515
ADD_TRAIT(user, TRAIT_RESISTCOLD, INNATE_TRAIT)
1616
ADD_TRAIT(user, TRAIT_NOSLIPICE, INNATE_TRAIT)
17-
17+
1818

1919
var/datum/action/cooldown/spell/basic_jaunt = locate(/datum/action/cooldown/spell/jaunt/ethereal_jaunt/basic) in user.actions
2020
if(basic_jaunt)
@@ -99,7 +99,7 @@
9999
cost = 1
100100
route = PATH_VOID
101101
tier = TIER_2
102-
102+
103103
/datum/eldritch_knowledge/cold_snap/on_gain(mob/user, datum/antagonist/heretic/our_heretic)
104104
. = ..()
105105
user.add_traits(list(TRAIT_NOBREATH, TRAIT_RESISTCOLD, TRAIT_NOSLIPICE), type)
@@ -162,7 +162,7 @@
162162
desc = "Allows you to transmute any ballistic weapon, with \
163163
a plank of wood, a piece of gold and a camera to create the Lionhunter's rifle. \
164164
The Lionhunter's Rifle is a long ranged ballistic weapon with three shots. \
165-
These shots function as normal, albeit weak high caliber mutitions when fired from \
165+
These shots function as normal, albeit weak high-caliber munitions when fired from \
166166
close range or at inanimate objects. You can aim the rifle at distant foes, \
167167
causing the shot to deal massively increased damage and hone in on them. \
168168
You can create more ammo with three casings and five bars of silver."

code/modules/cargo/packs.dm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,8 +1234,9 @@
12341234

12351235
/datum/supply_pack/engine/fuel_rod_basic
12361236
name = "Uranium-235 Fuel Rods Crate"
1237-
desc = "Contains 5 Enriched Uranium Control Rods."
1237+
desc = "Contains 5 Enriched Uranium Control Rods. Requires engineering access to open."
12381238
cost = 5000
1239+
access_view = ACCESS_ENGINEERING
12391240
contains = list(/obj/item/fuel_rod,
12401241
/obj/item/fuel_rod,
12411242
/obj/item/fuel_rod,
@@ -1247,8 +1248,9 @@
12471248

12481249
/datum/supply_pack/engine/fuel_rod_plutonium
12491250
name = "Plutonium-239 Fuel Rods Crate"
1250-
desc = "Contains 5 Plutonium-239 Control Rods."
1251+
desc = "Contains 5 Plutonium-239 Control Rods. Requires engineering access to open."
12511252
cost = 15000
1253+
access_view = ACCESS_ENGINEERING
12521254
contains = list(/obj/item/fuel_rod/plutonium,
12531255
/obj/item/fuel_rod/plutonium,
12541256
/obj/item/fuel_rod/plutonium,

code/modules/food_and_drinks/food/snacks_pastry.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
icon_state = "donut1"
99
bitesize = 5
1010
bonus_reagents = list(/datum/reagent/consumable/sugar = 1)
11-
list_reagents = list(/datum/reagent/consumable/nutriment = 3, /datum/reagent/consumable/sprinkles = 1, /datum/reagent/consumable/sugar = 2)
11+
list_reagents = list(/datum/reagent/consumable/nutriment = 3, /datum/reagent/consumable/sugar = 2)
1212
filling_color = "#D2691E"
1313
tastes = list("donut" = 1)
1414
foodtype = JUNKFOOD | GRAIN | FRIED | SUGAR | BREAKFAST
@@ -27,7 +27,7 @@
2727
is_frosted = TRUE
2828
name = "frosted [name]"
2929
icon_state = frosted_icon //delish!
30-
reagents.add_reagent(/datum/reagent/consumable/sprinkles, 1)
30+
reagents.add_reagent(/datum/reagent/consumable/sprinkles, 2)
3131
filling_color = "#FF69B4"
3232
return TRUE
3333

code/modules/food_and_drinks/recipes/tablecraft/recipes_pastry.dm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
result = /obj/item/reagent_containers/food/snacks/donut
3232
category = CAT_PASTRY
3333

34+
/datum/crafting_recipe/food/donut/on_craft_completion(mob/user, atom/result)
35+
. = ..()
36+
var/obj/item/reagent_containers/food/snacks/donut/donut_result = result
37+
if(donut_result.is_frosted)
38+
donut_result.reagents.add_reagent(/datum/reagent/consumable/sprinkles, 2)
39+
3440
/datum/crafting_recipe/food/jellydonut
3541
name = "Jelly Donut"
3642
reqs = list(

code/modules/mob/living/living.dm

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
GLOB.mob_living_list += src
1212
if(startDead)
1313
death(FALSE)
14+
if(!voice_type)
15+
voice_type = pick(voice_type2sound) //yogs edit (stolen from monke)
1416

1517
/mob/living/prepare_huds()
1618
..()
@@ -178,20 +180,17 @@
178180
return TRUE
179181

180182
/mob/living/get_photo_description(obj/item/camera/camera)
181-
var/list/mob_details = list()
182183
var/list/holding = list()
183184
var/len = length(held_items)
184185
if(len)
185186
for(var/obj/item/I in held_items)
186187
if(!holding.len)
187188
holding += "They are holding \a [I]"
188189
else if(held_items.Find(I) == len)
189-
holding += ", and \a [I]."
190+
holding += ", and \a [I]"
190191
else
191192
holding += ", \a [I]"
192-
holding += "."
193-
mob_details += "You can also see [src] on the photo[health < (maxHealth * 0.75) ? ", looking a bit hurt":""][holding ? ". [holding.Join("")]":"."]."
194-
return mob_details.Join("")
193+
return "You can also see [src] on the photo[health < (maxHealth * 0.75) ? ", looking a bit hurt":""][holding.len ? ". [holding.Join("")].":"."]"
195194

196195
//Called when we bump onto an obj
197196
/mob/living/proc/ObjBump(obj/O)

code/modules/mob/living/say.dm

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,21 @@ GLOBAL_LIST_INIT(special_radio_keys, list(
234234

235235
send_speech(message, message_range, src, bubble_type, spans, language, message_mods)
236236

237+
//yogs edit (stolen from monkestation)
238+
///Play a sound to indicate we just spoke
239+
if(client && !HAS_TRAIT(src, TRAIT_SIGN_LANG))
240+
var/ending = copytext_char(message, -1)
241+
var/sound/speak_sound
242+
if(SPAN_HELIUM in spans)
243+
speak_sound = sound('sound/effects/mousesqueek.ogg')
244+
else if(ending == "?")
245+
speak_sound = voice_type2sound[voice_type]["?"]
246+
else if(ending == "!")
247+
speak_sound = voice_type2sound[voice_type]["!"]
248+
else
249+
speak_sound = voice_type2sound[voice_type][voice_type]
250+
playsound(src, speak_sound, 300, 1, SHORT_RANGE_SOUND_EXTRARANGE-2, falloff_exponent = 1, pressure_affected = FALSE, ignore_walls = FALSE, use_reverb = FALSE)
251+
//yogs change end
237252

238253
return on_say_success(message,message_range,succumbed, spans, language, message_mods)//Yogs
239254

code/modules/photography/camera/camera.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
temp.Scale(psize_x, psize_y)
250250
temp.Blend(get_icon, ICON_OVERLAY)
251251

252-
var/datum/picture/P = new("picture", desc.Join(" "), minds_spotted, dead_spotted, temp, null, psize_x, psize_y, blueprints)
252+
var/datum/picture/P = new("picture", desc.Join("<br>"), minds_spotted, dead_spotted, temp, null, psize_x, psize_y, blueprints)
253253
after_picture(user, P, flag)
254254
blending = FALSE
255255

code/modules/reagents/reagent_containers/medspray.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
w_class = WEIGHT_CLASS_SMALL
1515
throw_speed = 3
1616
throw_range = 7
17-
amount_per_transfer_from_this = 10
18-
volume = 30
17+
amount_per_transfer_from_this = 25
18+
volume = 100
1919
var/can_fill_from_container = TRUE
2020
var/apply_type = PATCH
2121
var/apply_method = "spray"

goon/sound/speak_1.ogg

4.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)