-
Notifications
You must be signed in to change notification settings - Fork 273
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
feat(port): start work on porting relic generation #4171
Draft
chaosvolt
wants to merge
17
commits into
cataclysmbnteam:main
Choose a base branch
from
chaosvolt:finally-do-the-thing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 14 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6f4a9dc
commit for remote
chaosvolt bbf1f2c
Commit for remote
chaosvolt 5693fe3
Merge branch 'main' into finally-do-the-thing
chaosvolt f2a7237
smol fixes
chaosvolt 08494b4
style(autofix.ci): automated formatting
autofix-ci[bot] 2c2ee17
Merge branch 'main' into finally-do-the-thing
chaosvolt 5538dc0
Update relic.cpp
chaosvolt bfcc0a3
Merge branch 'main' into finally-do-the-thing
chaosvolt bf20186
Merge branch 'main' into finally-do-the-thing
chaosvolt eb5581d
Merge branch 'main' into finally-do-the-thing
chaosvolt e2660b5
Update relic.cpp
chaosvolt 00709a5
Continue work on the thing a bit
chaosvolt be44b87
style(autofix.ci): automated formatting
autofix-ci[bot] cc62ff7
Merge branch 'main' into finally-do-the-thing
chaosvolt 6eee4cd
Update map.cpp
chaosvolt 22638fe
Suggestions per feedback
chaosvolt ec432a2
Merge branch 'main' into finally-do-the-thing
chaosvolt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
[ | ||
{ | ||
"type": "relic_procgen_data", | ||
"id": "cult", | ||
"passive_add_procgen_values": [ | ||
{ "weight": 100, "min_value": -1, "max_value": 1, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 }, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "DEXTERITY", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "PERCEPTION", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "INTELLIGENCE", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -100, | ||
"max_value": 25, | ||
"type": "SPEED", | ||
"increment": 5, | ||
"power_per_increment": 200 | ||
} | ||
], | ||
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" } ], | ||
"items": [ { "weight": 100, "item": "spoon" } ] | ||
}, | ||
{ | ||
"type": "relic_procgen_data", | ||
"id": "netherum_tunnels", | ||
"passive_add_procgen_values": [ | ||
{ "weight": 100, "min_value": -1, "max_value": 1, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 }, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "DEXTERITY", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "PERCEPTION", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "INTELLIGENCE", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -100, | ||
"max_value": 25, | ||
"type": "SPEED", | ||
"increment": 5, | ||
"power_per_increment": 200 | ||
} | ||
], | ||
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" } ], | ||
"items": [ { "weight": 100, "item": "spoon" } ] | ||
}, | ||
{ | ||
"type": "relic_procgen_data", | ||
"id": "alien_reality", | ||
"passive_add_procgen_values": [ | ||
{ "weight": 100, "min_value": -1, "max_value": 1, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 }, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "DEXTERITY", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "PERCEPTION", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -1, | ||
"max_value": 1, | ||
"type": "INTELLIGENCE", | ||
"increment": 1, | ||
"power_per_increment": 250 | ||
}, | ||
{ | ||
"weight": 100, | ||
"min_value": -100, | ||
"max_value": 25, | ||
"type": "SPEED", | ||
"increment": 5, | ||
"power_per_increment": 200 | ||
} | ||
], | ||
"type_weights": [ { "weight": 100, "value": "passive_enchantment_add" } ], | ||
"items": [ { "weight": 100, "item": "spoon" } ] | ||
} | ||
] |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need the item::spawn call here, you can just use id->create_item raw. It won't cause any real problems but it's spawning a new copy of the item and deleting the original.
Other than that it looks good though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You sure that's the only problem? Because as it is now it doesn't compile because I haven't finished converting all functions to use item identity stuff, if I recall.