Skip to content
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

Modding system tweak - Remove lines #114

Open
OldBeardedCoder opened this issue Mar 13, 2021 · 2 comments
Open

Modding system tweak - Remove lines #114

OldBeardedCoder opened this issue Mar 13, 2021 · 2 comments

Comments

@OldBeardedCoder
Copy link
Collaborator

In 0.6.0 The modding system does not allow the modder to remove specific rows in a file if there are multiple rows where column 0 matches. This means that you cannot alter any except the first Rainbow Facet for example. It also doesn't allow the modder to just remove a line. I propose changing the format of the modding files to handle a [-] special prefix to the first column in any file to indicate that this exact row must be removed, and if the row doesn't have [-] then that row is to be added. This should solve both issues nicely.

@OldBeardedCoder
Copy link
Collaborator Author

Per discussions in Discord, we when using the [-] the next line is always the replacement. This means you can never remove a line, however don't forget you can replace it with a line that comments it out with *.

@OldBeardedCoder
Copy link
Collaborator Author

Also would be nice to have a [P] for Preserve, i.e. the item isn't affected by Generator/Randomizer. Generator will read the item to add to its pool of props, but will not alter its properties. If NumClones is on then it will create # NumClones copies of the item w/o gen or randing them: This is to preserve the probability of rolling the item (otherwise the probability goes down).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant