Noita
Poly Control
Conga Lyne  [udvikler] 18. maj 2023 kl. 21:31
For Modders: Compatibility
If you want to add your own creatures to be compatiable this mod, look inside "files/scripts/poly_pool.lua" and append to the poly_control_options table with every creature you have.

Then, append to the vanilla_poly_pool for every creature you want enabled by default.


file is the raw filename of the creature, for example, data/entities/animals/ant.xml would be
file = ant

name is the name of your creature, for example
name = "Ant"

uniquepath is used if your creature is located outside of data/entities/animals/, for example, if your filepath is inside the folder data/entities/animals/boss_epic/, then that would be your uniquepath

uniquegfx is used if your creature doesn't show up in the progress log but you still want them to be polymorphed into, for example, fungus_tiny.xml in the basegame doesn't appear in the progress log, but can be polymorphed into.
In this situation, you can create a folder to put these 'hidden' icons into and point towards it using this variable.
Note, that having a creature icon is mandatory, the mod will expect an icon for each creature.


Reminder:
file is mandatory
name is mandatory
uniquepath is optional
uniquegfx is optional
Sidst redigeret af Conga Lyne; 18. maj 2023 kl. 22:53