Campaign Shop

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
Jarom
Posts: 129
Joined: January 4th, 2015, 8:23 pm
Location: Green Isle, Irdya or Poland, Earth - I'm not quite sure

Campaign Shop

Post by Jarom »

A drop-in modification, that allows you to spend gold in keeps to buy items that will cure, heal, or upgrade units.

- All items, including potions, are used when purchased and cannot be saved for later use.
- Upgrades are permanent and carried over to next scenario.
- A unit can purchase some shop items, such as armor, only once.
- If enabled in options, units can convert XP for gold at shops (gold = xp/level).
- Cost and some other variables are configurable in game creation menu.

Created for use with SigurdFireDragon's Custom Campaign in mind, but works with any content, including sp campaigns and single multiplayer scenarios (though it's best to adjust prices then).
In multiplayer, only host needs to have it. AI won't use it.
Based on shop 'era' from Dov's Maps 'n Mods by Dovolente (maintained by Atreides).

Translations are mostly not working yet (strings are in #wesnoth textdomain), will fix that later.

Integration capability: just edit cs_items at any point in the game (e.g. in start event), the options will reassemble from items definitions next time the menu is opened (categories are currently limited to 5, though you can change their definitions). Multipliers won’t be reapplied automatically – if you want to respect those, they’re still available as variables though. Capabilities outside of [effect] are available via [command] – see potion of fidelity for reference. For [era] and [multiplayer] add-ons, also see force_modification= if needed, for [campaign] you’d probably have to add the menu and configuration options yourself if they’re strictly required.
Numero
Posts: 63
Joined: August 7th, 2018, 2:11 pm

Re: Campaign Shop

Post by Numero »

Hey I like the concept, but I think it would profit massivly from a UI that is similar to the one from the Bad Moon Rising campaigns
Author of 'An Orcish Might' viewtopic.php?t=57032
User avatar
TechnoPirateZombie
Posts: 5
Joined: August 4th, 2025, 4:17 am

Re: Campaign Shop

Post by TechnoPirateZombie »

Hello. I've been fiddling with this mod for funsies for a while now and I think it's about ready for public playtest, though I do aim for more functionality in the future. It REALLY shouldn't be used in mp(more a sp here) without time limits maybe. It is very cheaty.

oh yeah, I should mention I'm working under 1.18 and that's my target for now
Attachments
Campaign_Shop.7z
(185.65 KiB) Downloaded 12 times
Post Reply