Well-known-Game-Studio / wot_a_good_game

WOT: A Good Game - Wotxels; the first of its name
https://twitter.com/WellKnownGames
3 stars 0 forks source link

Feature/item spawn controls #69

Closed finger563 closed 1 year ago

finger563 commented 1 year ago

Description

Motivation and Context

Right now the developer has no way to customize instances of enemies with different assortments of items (or different quantities) from the same set of items - NPCs (animals, friendlies, enemies) have very static inventories and all default items are present in every instance. This PR adds the ability to specify the spawn probability for the item into the inventory as well as the ability to specify a range for the quantity to spawn, if spawning.

How has this been tested?

Playing in the Gameplay Test Map and the Diorama Test map (all the way through)

Screenshots (if appropriate):

CleanShot 2023-07-25 at 07 51 17

CleanShot 2023-07-25 at 07 53 44

CleanShot 2023-07-25 at 07 53 58

CleanShot 2023-07-25 at 07 54 44

Types of changes

Checklist:

Software