Skip to content

Property System: HP for all enemies#1242

Draft
Stranger1992 wants to merge 10 commits into
developfrom
Properties-HP
Draft

Property System: HP for all enemies#1242
Stranger1992 wants to merge 10 commits into
developfrom
Properties-HP

Conversation

@Stranger1992

@Stranger1992 Stranger1992 commented Jun 7, 2026

Copy link
Copy Markdown
Member

This PR adds starting HP for all enemies.

Copilot AI review requested due to automatic review settings June 7, 2026 10:50
@Stranger1992 Stranger1992 added the property system Additions to a property system (either TEN or TRX). label Jun 7, 2026

Copilot AI left a comment

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.

Pull request overview

Adds a new TombEngine (TEN) property catalog to expose configurable default hit points for a large set of enemy moveables via the Lua Property system, so editors/WadTool can adjust HP per enemy type.

Changes:

  • Introduces Global/HitPoints.xml defining an Int HitPoints property (default per moveable ID / ID range).
  • Groups multiple moveable IDs under shared HP defaults to reduce repetition in catalog structure.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread TombLib/TombLib/Catalogs/TEN Property Catalogs/Global/HitPoints.xml Outdated

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread Installer/Changes.txt
Comment on lines +22 to +24
TEN property system updates
* Starting HP for all creatures.

Comment on lines +708 to +718
<moveable id="287-288">
<property
internalName="HitPoints"
displayName="Hit Points"
type="Int"
defaultValue="300"
category="Combat"
description="Starting hit points."
/>
</moveable>
</propertyCatalog> No newline at end of file

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.

WRAITH1-4 , DOPPELGANGER, WHALE, CROCODILE_GOD are invincible, DRAGON_BACK is a required object for the dragon but doesnt have HP. WILLARD and MUTANT2 (currently) is not implemented.

@Stranger1992 Stranger1992 marked this pull request as draft June 15, 2026 10:04
@Stranger1992

Copy link
Copy Markdown
Member Author

Converted to draft as the TEN side needs reviewing. This side is complete and ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

property system Additions to a property system (either TEN or TRX).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants