babaissarkar / WISh

War of Legends Inventory System addon (WISh)
Other
1 stars 0 forks source link

Standaridized Item Database for all considered factions. #2

Open knyghtmare opened 3 months ago

knyghtmare commented 3 months ago

I was thinking of adding tiers for the items:

What do you think @babaissarkar ?

We have a considerable number of gear for factions to add so I am expecting like 60 items per faction, which can be a grand total of ~720. If you take this tier system, we can have reusable code bits for common slots (armor/amulet/trinket). Weapons can have variable number (depending on faction).

Opened up the issue for discussion.

babaissarkar commented 3 months ago

That's fine

  1. We might need to playtest to stabilize the drop rates, since items change scenario balance.
  2. Code: Max number of weapon slots? (Currently it has 1). I think LotI has 2 weapon slots (total 9 slots), but 9 slots in total is too much.
  3. I have couple of items in JoaFM (S8, S9), would you have a look at them, and determine their tier? (could be overpowered)
  4. Higher tier items can have glow effect or special animations when they are on map. A problem I often noticed with LotI and mainline is dropped items often are not distinct against the map background. I wonder if we can do something about that.
knyghtmare commented 3 months ago

We might need to playtest to stabilize the drop rates, since items change scenario balance.

Let us start off with:

# drop rates
# we do not want a drop every time...
# NONE: 50%
# Uncommon: 25%
# Fine: 15%
# Rare: 10%
# Exotic: 5%
{RANDOM (none,none,none,none,none,
        none,none,none,none,none,
        uncommon,uncommon,uncommon,uncommon,uncommon,
        fine,fine,fine,rare,rare,exotic)}

Code: Max number of weapon slots? (Currently it has 1). I think LotI has 2 weapon slots (total 9 slots), but 9 slots in total is too much.

I'd like to keep at one. 2 weapons is too much and we would be just replicating LotI if we went in that direction. The current slot of 4 works wonders. it's both simply and elegant.

I have couple of items in JoaFM (S8, S9), would you have a look at them, and determine their tier? (could be overpowered)

Faerie Bow (S9): +6 HP, 10-5 natural ranged magical slow, status cleanse Assigned Tier: Exotic

Strakos (S8:): +6 Hp, +10% max XP, 15-3 melee cold freezes, status cleanse Assigned Tier: Exotic

Higher tier items can have glow effect or special animations when they are on map. A problem I often noticed with LotI and mainline is dropped items often are not distinct against the map background. I wonder if we can do something about that.

We can add a halo. Loti adds the leadership halo on them to make it twinkle at set intervals and this makes it eye catching.

Additional Notes:

I think each equipment piece should have an associated gold cost. Unwanted gear pieces can be sold off for like 40% of the gold cost.

babaissarkar commented 3 months ago

We can add a halo. Loti adds the leadership halo on them to make it twinkle at set intervals and this makes it eye catching.

Never noticed that :grin:

Faerie Bow (S9): +6 HP, 10-5 natural ranged magical slow, status cleanse Assigned Tier: Exotic

Strakos (S8:): +6 Hp, +10% max XP, 15-3 melee cold freezes, status cleanse Assigned Tier: Exotic

There were two others in S9, but I guess they'd be Exotic as well. Arzenth https://github.com/babaissarkar/frost-mage/blob/96f3676e77750184f182be0cc2e928d42c71b823/scenarios/09_pursuit.cfg#L139-L180

Lightspear https://github.com/babaissarkar/frost-mage/blob/96f3676e77750184f182be0cc2e928d42c71b823/scenarios/09_pursuit.cfg#L226-L274

babaissarkar commented 3 months ago

Would it be possible for you to write the drop code? (No gui involved: A unit with item dies -> drops attached items) You have full control of the drops rates and the involved mechanisms.

Another point: I think it would be good to start storing the item data in a separate CSV file. When someone want to add an item, they just update that file and that's it. No code involved. Although there seem to be no csv support in Wesnothian Lua, a quick internet search reveals quite a few Lua CSV library. If that doesn't work, still it shouldn't be too hard to write a script to convert the CSV to a Wesnoth macro definition file containing {ITEM_PICK_UP}s.

babaissarkar commented 3 months ago

After the item database, I wonder what else is needed?

Possible ideas

  1. Shop system
  2. Crafting (I'd prefer not to name something on an author :joy: ! Looking at you, Dugi's Wrath.)
  3. Item Enhancement System (the item levels up after a certain amount of crafting materials have been fed.)
  4. Mining System (we can kill enemies to get materials, but can there be other ways? Seems like a good place to put that Dwarvish Miner to some use.)
  5. Runes (Could be related to 3. above, or can be something else. Defeating Magi or finding magical items/books can teach you new spells -> okay, that's just new attack so nothing different here.)
  6. Set bonus or some kind of resonance effect? Multiple items with same element grant extra bonus? Can be related to your elemental interaction idea.
knyghtmare commented 3 months ago

Shop system Crafting (I'd prefer not to name something on an author 😂 ! Looking at you, Dugi's Wrath.) Item Enhancement System (the item levels up after a certain amount of crafting materials have been fed.) Mining System (we can kill enemies to get materials, but can there be other ways? Seems like a good place to put that Dwarvish Miner to some use.) Runes (Could be related to 3. above, or can be something else. Defeating Magi or finding magical items/books can teach you new spells -> okay, that's just new attack so nothing different here.)

For now, I would target the initial sets and shop systems for a v1.0.0 The rest seem really far off objectives to pull off (for v3 or v4 and so on). Better to start small and build our way eventually.

babaissarkar commented 3 months ago

Just posted that list so I won't forget it.