Skip to content

Commit

Permalink
Merge branch 'master' into doublespace-tip
Browse files Browse the repository at this point in the history
  • Loading branch information
private-tristan committed Jan 20, 2024
2 parents 9c624ec + a3037ec commit f1952b8
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 11 deletions.
5 changes: 5 additions & 0 deletions code/game/machinery/vending/vendor_types/engineering.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
list("Research Data Terminal", 2, /obj/item/circuitboard/computer/research_terminal, VENDOR_ITEM_REGULAR),
list("P.A.C.M.A.N Generator", 1, /obj/item/circuitboard/machine/pacman, VENDOR_ITEM_REGULAR),
list("Auxiliar Power Storage Unit", 2, /obj/item/circuitboard/machine/ghettosmes, VENDOR_ITEM_REGULAR),
list("Air Alarm Electronics", 2, /obj/item/circuitboard/airalarm, VENDOR_ITEM_REGULAR),
list("Security Camera Monitor", 2, /obj/item/circuitboard/computer/cameras, VENDOR_ITEM_REGULAR),
list("Station Alerts", 2, /obj/item/circuitboard/computer/stationalert, VENDOR_ITEM_REGULAR),
list("Arcade", 2, /obj/item/circuitboard/computer/arcade, VENDOR_ITEM_REGULAR),
list("Atmospheric Monitor", 2, /obj/item/circuitboard/computer/air_management, VENDOR_ITEM_REGULAR),
)

/obj/structure/machinery/cm_vending/sorted/tech/tool_storage/antag
Expand Down
9 changes: 5 additions & 4 deletions code/game/objects/items/devices/whistle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
actions_types = list(/datum/action/item_action)

var/volume = 60
var/spamcheck = 0
var/spam_cooldown_time = 10 SECONDS
COOLDOWN_DECLARE(spam_cooldown)

/obj/item/device/whistle/attack_self(mob/user)
..()
Expand All @@ -28,14 +29,14 @@
..()

/obj/item/device/whistle/proc/whistle_playsound(mob/user)
if (spamcheck)
if(!COOLDOWN_FINISHED(src, spam_cooldown))
to_chat(user, SPAN_DANGER("You are out of breath after using [src]! Wait [COOLDOWN_SECONDSLEFT(src, spam_cooldown)] second\s."))
return

user.visible_message(SPAN_WARNING("[user] blows into [src]!"))
playsound(get_turf(src), 'sound/items/whistle.ogg', volume, 1, vary = 0)

spamcheck = 1
addtimer(VARSET_CALLBACK(src, spamcheck, FALSE), 3 SECONDS)
COOLDOWN_START(src, spam_cooldown, spam_cooldown_time)

/obj/item/device/whistle/MouseDrop(obj/over_object)
if(ishuman(usr))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/dropships/attach_points/attach_point.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
unacidable = TRUE
anchored = TRUE
layer = ABOVE_TURF_LAYER
plane = FLOOR_PLANE
plane = GAME_PLANE
/// The currently installed equipment, if any
var/obj/structure/dropship_equipment/installed_equipment
/// What kind of equipment this base accepts
Expand Down
6 changes: 6 additions & 0 deletions code/modules/dropships/attach_points/templates.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,15 @@
/obj/effect/attach_point/crew_weapon/dropship1
ship_tag = DROPSHIP_ALAMO

/obj/effect/attach_point/crew_weapon/dropship1/floor
plane = FLOOR_PLANE

/obj/effect/attach_point/crew_weapon/dropship2
ship_tag = DROPSHIP_NORMANDY

/obj/effect/attach_point/crew_weapon/dropship2/floor
plane = FLOOR_PLANE

/obj/effect/attach_point/electronics
name = "electronic system attach point"
base_category = DROPSHIP_ELECTRONICS
Expand Down
6 changes: 6 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Facehugger.dm
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,13 @@
return

/mob/living/carbon/xenomorph/facehugger/emote(act, m_type, message, intentional, force_silence)
// Custom emote
if(act == "me")
return ..()

// Otherwise, ""roar""!
playsound(loc, "alien_roar_larva", 15)
return TRUE

/mob/living/carbon/xenomorph/facehugger/get_status_tab_items()
. = ..()
Expand Down
6 changes: 6 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Larva.dm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,13 @@
return larva

/mob/living/carbon/xenomorph/larva/emote(act, m_type, message, intentional, force_silence)
// Custom emote
if(act == "me")
return ..()

// Otherwise, ""roar""!
playsound(loc, "alien_roar_larva", 15)
return TRUE

/mob/living/carbon/xenomorph/larva/is_xeno_grabbable()
return TRUE
Expand Down
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-5441.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Huffie56"
delete-after: True
changes:
- rscadd: "Add some boards to the board vendor in engi on almayer(Air Alarm Electronics, Security Camera Monitor,\nStation Alerts, Arcade, Atmospheric Monitor)."
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-5469.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "ClairionCM"
delete-after: True
changes:
- qol: "made whistles less spammy"
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-5495.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Vicacrov"
delete-after: True
changes:
- bugfix: "Fixes engine/weapon attach points layering below the dropship walls."
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-5496.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "SabreML"
delete-after: True
changes:
- rscadd: "Made larvae and facehuggers able to use custom emotes."
6 changes: 3 additions & 3 deletions maps/shuttles/dropship_alamo.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
},
/area/shuttle/drop1/sulaco)
"Kk" = (
/obj/effect/attach_point/crew_weapon/dropship1{
/obj/effect/attach_point/crew_weapon/dropship1/floor{
attach_id = 7
},
/turf/open/shuttle/dropship{
Expand Down Expand Up @@ -450,7 +450,7 @@
},
/area/shuttle/drop1/sulaco)
"Nv" = (
/obj/effect/attach_point/crew_weapon/dropship1{
/obj/effect/attach_point/crew_weapon/dropship1/floor{
attach_id = 8
},
/turf/open/shuttle/dropship{
Expand Down Expand Up @@ -507,7 +507,7 @@
},
/area/shuttle/drop1/sulaco)
"PV" = (
/obj/effect/attach_point/crew_weapon/dropship1{
/obj/effect/attach_point/crew_weapon/dropship1/floor{
attach_id = 9
},
/turf/open/shuttle/dropship{
Expand Down
6 changes: 3 additions & 3 deletions maps/shuttles/dropship_normandy.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
},
/area/shuttle/drop2/sulaco)
"hn" = (
/obj/effect/attach_point/crew_weapon/dropship2{
/obj/effect/attach_point/crew_weapon/dropship2/floor{
attach_id = 8
},
/turf/open/shuttle/dropship{
Expand Down Expand Up @@ -326,7 +326,7 @@
},
/area/shuttle/drop2/sulaco)
"Bg" = (
/obj/effect/attach_point/crew_weapon/dropship2{
/obj/effect/attach_point/crew_weapon/dropship2/floor{
attach_id = 7
},
/turf/open/shuttle/dropship{
Expand Down Expand Up @@ -478,7 +478,7 @@
/turf/template_noop,
/area/shuttle/drop2/sulaco)
"MA" = (
/obj/effect/attach_point/crew_weapon/dropship2{
/obj/effect/attach_point/crew_weapon/dropship2/floor{
attach_id = 9
},
/turf/open/shuttle/dropship{
Expand Down

0 comments on commit f1952b8

Please sign in to comment.