Commit Graph

608 Commits

Author SHA1 Message Date
d60d759e1a Delete an obsolete TODO
This random number was probably to randomly choose between the "darn" and "dang" sounds, which no longer exist in Blades of Exile.
2024-09-10 22:18:59 -04:00
9fed4fc799 Recharge: Melt chance and shop customization
For the recharge spell, there is now a chance for the item to melt if you try to charge it too much.
For recharge shops, it is now possible to configure how much they are willing to charge an item,
as well as how many charges are given per payment.
2024-09-10 22:18:59 -04:00
4df389db6d Use proper type and name 2024-09-10 22:18:59 -04:00
da21e7d775 Add new recharge spell (only an item spell currently) 2024-09-10 22:18:59 -04:00
54d769a4d1 Experimental: Identify spell now brings up shop-like identify interface 2024-09-10 22:18:59 -04:00
a4231005f6 Add a new "rechargeable" flag to items
A way to set this flag is not yet exposed in the scenario editor.
The flag is intended only for non-stackable items, but this currently isn't enforced.
Items now have a maximum number of charges, which is equal to their default number set in the item record.
Enchanted items with charges are now rechargeable.
2024-09-10 22:18:59 -04:00
753dbbcc59 Add a new dialogue mode to recharge items
This is currently useless, as exhausting an item's charges currently deletes it, but it is part of a work in progress
2024-09-10 22:18:59 -04:00
6965b822dc Gather all enchantment info into a single place
This also resolves several TODO notes about duplicate code and makes cPresetItem::ability an eEnchant
2024-09-10 22:18:59 -04:00
71a9d11cd0 Gather all alchemy info into a single place 2024-09-10 22:18:59 -04:00
65229026d8 Close #433: record and replay continue/escape during step-through. 2024-09-08 18:40:06 -04:00
0da680fed5 framerate-limit special node step-through 2024-09-08 18:40:06 -04:00
0d5b169606 record and replay monster menu item 2024-09-05 09:25:21 -04:00
977724dc31 record and replay parrying 2024-09-05 09:25:21 -04:00
8caef91caf record and replay toggle active 2024-09-05 09:25:21 -04:00
6b7b42951d handle all wait types in one action 2024-09-05 09:25:21 -04:00
4e37a0c796 record and replay closing the map 2024-09-05 09:25:21 -04:00
e7a56f08a2 use text for bool representations 2024-09-03 00:08:26 -04:00
4e66edc7e3 prefer lexical_cast over stringstream in record/replay 2024-09-03 00:08:26 -04:00
9573b47e70 only record user-triggered set_stat_window 2024-09-03 00:08:26 -04:00
846789df73 record and replay buying and info of shop items 2024-09-03 00:08:26 -04:00
a483aff1ac record and replay switching between item/quest/spec items 2024-09-03 00:08:26 -04:00
1cc3ca8c5c record and replay showing item info 2024-09-03 00:08:26 -04:00
69dc482997 record and replay using special items 2024-09-03 00:08:26 -04:00
4c67d7220e record and replay scrollbar movement from user input 2024-09-03 00:08:26 -04:00
4f50667e78 throw error for unknown replay actions 2024-09-03 00:08:26 -04:00
3b028e1717 fix #418 2024-09-03 00:08:26 -04:00
342ec3a17e record and replay end_shop_mode 2024-09-03 00:08:26 -04:00
7a5c865779 record and replay dialog choices 2024-09-03 00:08:26 -04:00
7791380a9a refactor dialogue word button on/off colors to constants 2024-09-03 00:08:26 -04:00
9b862d848f record dialogue and shop help buttons 2024-09-03 00:08:26 -04:00
d8e5a415a2 record and replay talk to npc 2024-09-03 00:08:26 -04:00
17070a5db6 record and replay begin talk mode 2024-09-03 00:08:26 -04:00
556e5786bb record and replay interrupting a special node 2024-09-03 00:08:26 -04:00
aa047401f7 record and replay trading pc places 2024-09-03 00:08:26 -04:00
e12838a04e record and replay showing PC info 2024-09-03 00:08:26 -04:00
9eba2ab4e5 record and replay clicking a PC's HP or SP
printing the SP value was broken, so I also fixed it
2024-09-03 00:08:26 -04:00
a4d36abec6 record and replay the last 2 debug actions 2024-09-03 00:08:26 -04:00
680150ac3e de-duplicate code for reviving dead party members
Two separate instances of doing this were in the debug actions,
and one of them looked incorrect.
2024-09-03 00:08:26 -04:00
2f3206ed43 record and replay debug edit stuff done 2024-09-03 00:08:26 -04:00
a04ff5d4ad record and replay debug towns forget 2024-09-03 00:08:26 -04:00
3c9f5fa00e record and replay debug increase age 2024-09-03 00:08:26 -04:00
de0ee8a070 record and replay debug trigger victory 2024-09-03 00:08:26 -04:00
f7b367ad72 record and replay debug return to start 2024-09-03 00:08:26 -04:00
dc45c4b8c3 record and replay debug ghost mode 2024-09-03 00:08:26 -04:00
b0433fe1c8 record and replay debug flying 2024-09-03 00:08:26 -04:00
a1072b57e2 record and replay debug stealth, detect life, firewalk 2024-09-03 00:08:26 -04:00
81c815dc48 record and replay debug clear statuses 2024-09-03 00:08:26 -04:00
16b4555469 record and replay debug refresh store items 2024-09-03 00:08:26 -04:00
1ce3d5045a record and replay debug enter town 2024-09-03 00:08:26 -04:00
42f66cf2d8 record and replay debug magic map 2024-09-03 00:08:26 -04:00