Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Allows golem arms to dredge boulders from ore vents #5236

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions code/game/objects/structures/lavaland/ore_vent.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,18 @@
return
to_chat(user, span_notice("You start striking [src] with your golem's fist, attempting to dredge up a boulder..."))
for(var/i in 1 to 3)
/* NOVA EDIT CHANGE START - ORIGINAL:
if(do_after(user, boulder_size * 1 SECONDS, src))
user.apply_damage(20, STAMINA)
playsound(src, 'sound/items/weapons/genhit.ogg', 50, TRUE)
*/
if(!do_after(user, boulder_size * 1 SECONDS, src))
user.balloon_alert(user, "stay still!")
return
user.balloon_alert(user, i > 2 ? "got one!" : "digging around...")
user.apply_damage(20, STAMINA)
playsound(src, 'sound/items/weapons/genhit.ogg', 50, TRUE)
// NOVA EDIT CHANGE END
produce_boulder(TRUE)
visible_message(span_notice("You've successfully produced a boulder! Boy are your arms tired."))

Expand Down
Loading