PyTFall > PyTFall: Bugs and Game balancing
Reporting Errors:
DarkTl:
--- Quote from: Xela on March 19, 2017, 04:41:49 AM ---I am also wondering if it may be worth the effort to combine equip and unequip methods into one method and reverse just the operators/value. It'll be a tiny bit messier but may be worth the effort cause we would not have to double all that traits conditioning. Maybe even less prone to errors.
--- End quote ---
Yeah, it would also make adding traits which change items effects easier.
Xela:
--- Quote from: DarkTl on March 19, 2017, 05:08:15 AM ---Yeah, it would also make adding traits which change items effects easier.
--- End quote ---
Agreed, definitely worth the effort. When writing original items code, stuff like objects and operators and etc. confused the sh!t out of me, which is no longer the case. Best thing is that it'll prolly make the code way better manageable.
Xela:
Looks line min stats were applied twice...
DarkTl:
Well, misc items are totally screwed now.
--- Code: ---While running game code:
File "game/library/screens/next_day.rpy", line 120, in script call
call next_day_controls
File "game/library/screens/next_day.rpy", line 120, in script call
call next_day_controls
File "game/library/items/chars_equipment.rpy", line 194, in script
python:
File "game/library/items/chars_equipment.rpy", line 235, in <module>
dummy.unequip(focusitem, unequip_slot)
File "game/library/characters/classes - characters.rpy", line 1983, in unequip
del(self.miscitems[item])
KeyError: <store.Item object at 0x0E8F8330>
--- End code ---
After equipping Simple Training Dummy on MC, waiting for 3 days and then unequipping it.
Xela:
Fixed, I need to come up with better way to create dummies... prolly post beta.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version