feat: add lua binding for mtype_id#6471
Merged
RoyalFox2140 merged 9 commits intocataclysmbn:mainfrom May 3, 2025
Merged
Conversation
Contributor
|
Autofix has formatted code style violation in this PR. I edit commits locally (e.g: git, github desktop) and want to keep autofix
I do not want the automated commit
If you don't do this, your following commits will be based on the old commit, and cause MERGE CONFLICT. |
mtype_id
mtype_idmtype_id
mtype_idmtype_id
Contributor
Author
|
stupid me |
This reverts commit 376fd2a.
RoyalFox2140
approved these changes
May 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of change (The Why)
mtype_idwould make lua more useful! Such as spawning monster instantly, making a corpse not human but other monster, or ugh, getting monster id from corpse.It might be useful on sometime or later....Describe the solution (The How)
Add new binding for
mtype_idwith following guideDescribe alternatives you've considered
Testing
Additional context
Checklist
Mandatory
closes #1234in Summary of the PR so it can be closed automatically.mainso it won't cause conflict when updatingmainbranch later.deno task docso the Lua API documentation is updated.