Skip to content

Improvments to destruction behavoir and other things of gates#631

Merged
XeonMations merged 5 commits intoDarkPack13:masterfrom
FalloutFalcon:minor-gate-rework
Feb 9, 2026
Merged

Improvments to destruction behavoir and other things of gates#631
XeonMations merged 5 commits intoDarkPack13:masterfrom
FalloutFalcon:minor-gate-rework

Conversation

@FalloutFalcon
Copy link
Copy Markdown
Member

@FalloutFalcon FalloutFalcon commented Feb 6, 2026

About The Pull Request

Doing work on totems, I realized we needed a more generic way to say "we have atom integ but please dont acctually destroy us". See fuseboxes, totems, and the gate. Where we dont have ways to replace them ingame nor should we allow it to be broken.

Also took the time to add a quaint little graveyard in runtime town. The zombies already only bother you if you spawn as a gravekeeper so its useful to have. Made a rapidly spawning grave so you dont have to wait as well.

image

Why It's Good For The Game

Much less snow-flaking required to achieve the desired behavior

Changelog

🆑
fix: tiles next to the graveyard gate are made dense automaticly
refactor: Gravekeeper gate should behavior more consistently in line with atom integrity
/:cl:

@github-actions github-actions Bot added the Fix label Feb 6, 2026
Comment thread code/game/atom/atom_defense.dm Outdated
Comment thread code/game/atom/atom_defense.dm Outdated
Co-authored-by: XeonMations <62395746+XeonMations@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@Marshmellow105 Marshmellow105 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cute graveyard

spawn_interval = 30 SECONDS
max_zombies_per_grave = 1

/obj/structure/vampgate
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big ask i know, but can you do item_interaction on this, with tool = gravekeeper keys to toggle opened or not? just a qol thing for gravekeepers so we perhaps dont need them to... walk through a seperate door. maybe itd help in mapping. u dont have to tho...

Comment on lines -233 to -251
/obj/structure/vampgate/examine(mob/user)
. = ..()

if(gate_broken)
. += span_boldwarning("The gate is broken open!")
return

var/health_percent = round(get_integrity_percentage() * 100)

switch(health_percent)
if(0 to 25)
. += span_boldwarning("Integrity: [atom_integrity]/[max_integrity] - Critically damaged!")
if(26 to 50)
. += span_warning("Integrity: [atom_integrity]/[max_integrity] - Heavily damaged")
if(51 to 75)
. += span_notice("Integrity: [atom_integrity]/[max_integrity] - Moderately damaged")
if(76 to INFINITY)
. += span_notice("Integrity: [atom_integrity]/[max_integrity] - Good condition")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd imagine u only deleted this if there was still some way to see the integrity of the vampgate bc the tire iron only repairs a fraction of the total and yeah

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default atom examine displays the same text when its not indestruable

@XeonMations XeonMations added this pull request to the merge queue Feb 9, 2026
Merged via the queue into DarkPack13:master with commit 01957fc Feb 9, 2026
21 checks passed
darkpack13-api Bot added a commit that referenced this pull request Feb 9, 2026
github-actions Bot added a commit that referenced this pull request Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants