miki151 / keeperrl

Source code of KeeperRL
GNU General Public License v2.0
890 stars 112 forks source link

consider unhardcoding equipment slots #2073

Open samuellsk opened 1 week ago

samuellsk commented 1 week ago

in the last major update you ve introduced the DEVOTIONAL_ITEMS, they are hardcoded slots to divnity attribute,

would it be possible to simply unhardcode them and put such thing into creatures.txt like "extra equipment slots" ? or maybe unhardcode rest like amulets / rings...etc...

maybe the best choice would be to create an override in creatures.txt so you can define that this creature has 1 amulet slot, 1 gloves slot....etc... this would be best case scenario so you wont have to rework the creatures and gives modders power over the slots even custom ones (using a tiles.txt to reference the equipment icon..)