REQUEST : informations about shoot and/or damage
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 869
- Forks
- 222
- Avg merge
- 18h 33m
- Merged PRs (30d)
- 1
Description
Hi,
Could it be possible to add something to know the last damage for a spaceship ? Something like that : spaceship:lastDamage(delta,origin,type,value)
with delta for when its append, origin for who did that, type for the weapons used (laser, homing, asteriod,...) and value for the amount of damage.
With this feature, I would create some advance PNJ reactions, and some PNJ abilities (for exemple : EMP don't break their shield, but increase them instead).
In the same way, could it be possible to add a command to allow a CPU ship to use or not his missiles ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the spaceship scripting API and the CPU ship controls related to missiles. Clarify whether the damage-reporting API and missile-use command are separate changes, then define their behavior for damage timing, origin, weapon type, value, and missile usage before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100