Project Zomboid

Project Zomboid

ZConomy
Showing 1-10 of 11 entries
< 1  2 >
Update: 31 Aug, 2022 @ 6:59pm

* Updated distribution of Purses to be higher since they aren't found in the world very often.
* Updated the clamp in distribution to be more readable.
* Added missing % from the ContextMenu_Split_Stack translation.
* Lowered the rate of weight gain, but increased the minimum, from the amount of money when dynamically scaling.
* Updated change looting to give less change by adding more junk to the grab bag

+ Added a "Custom Amount" option when splitting Money objects
+ Added a missing arcade machine to the context menu check
+ Added helper function to update the loot of an object

- Reverted translation attribution since Steam doesn't accept accented/Cyrillic characters.

Update: 31 Aug, 2022 @ 12:46am

* Enforced tooltip text being a string before it is drawn
* Fixed the PryMachine sound not playing after the recent sound system update.
* Made the object types being stored in ObjectData more consistent.
* Cached some variable data in custom actions in order to reduce the overhead a bit while they run.
* Cleaned up some if/else statements in order to reduce the number of them a bit and reduce code complexity.

+ Split the inventory management events in a separate file so it no longer clutters the ContextMenu Events file
+ Added Empty Wallet items that will be placed in the player's inventory after looting a wallet's money.
+ Empty Wallets can be crafted into Leather Strips by cutting them up with scissors.

Update: 17 Aug, 2022 @ 8:43pm

* Updated file structure to be more compatible with the Steam Workshop
* Improved Money tooltips a bit
* Completely changed how the OnTransferInventoryItem Event is handled which drastically reduced the amount of code.
* ZCPlayArcadeAction had numerous variables cached to the action object in order to reduce redundant calls.
* ZCPryOpenAction now correctly handles vending machine loot. The item stock and cash amounts are now split into two variables and the loot is increased each time there is a sale. Now it's ideal to buy everything from a machine, then break it back open for the money inside instead of simply breaking it open to save time for a small loss of loot. The loot amount also directly equals the number of items missing multiplied by the price in the config.
* Cleaned up Money distribution.
* Tweaked the amount an arcade machine changes Moodle stats to be lower for balance.

+ Added ability to split a Money object into two based off different available percentage choices ranging from 10% to 90%, rounded. This will help with loot splits and roleplay in MP.
+ Added Money distribution to stashes.
+ Added ability to assign a value to Money objects that don't yet have a value. This is useful for existing saves created before the mod was installed. Now it'll assign a value once transferred to another container.

- Removed plugin hooks, as no other mods seem to use it and the events should suffice.
- Removed the PluginTemplate.lua file since it's no longer needed.
- Removed custom Money item.

Update: 1 Sep, 2021 @ 8:20pm

Fixed Snack and Drink spawning to work from lists defined in the config, which allows admins to have items spawned from machines without requiring mod support.

Balanced amount of money spawned in registers and updated default stock amounts. Also made arcade boredom and unhappiness change rates configurable.

Added functions to allow other mod makers to easily manipulate spawn tables and money object amounts.

Added OnZConomySettingsLoaded event that triggers once all ZConomy settings and helper functions have finished loading. This makes it easier for other modders to manipulate the Drink and Snack tables without worrying about race conditions or other unforeseen problems.

Money object was updated to match latest conventions.

Updated template to use helper functions.

An new arcade machine wasn't recognized and has now been added to the list.

Update: 28 Aug, 2021 @ 7:38pm

Update: 27 Aug, 2021 @ 8:11pm

Fixed how snacks and drinks are stored in the config setup

Update: 27 Aug, 2021 @ 4:18pm

Updated for version 41.53+

The PluginTemplate.lua file now has example code which is the actual code being used by ZConomy to help other modders when modifying behavior. It also includes some comments to document what is going on.

Purses no longer use PZ's loot table method and instead use a percentage chance to spawn on the death of a zombie. As such, there are more config options to control how often they spawn. Also, admins can now control the chance to spawn wallets and have better control of items/money being looted from specific machines.

Loot amounts are now inclusive and the defaults have been updated to reflect that.

Update: 16 Aug, 2021 @ 9:30pm

+ Added Russian translation (finally!)

Update: 5 Oct, 2019 @ 4:27pm

- Added Portugese translations

Update: 15 May, 2019 @ 6:20pm

I've fixed the issue with payphones and arcades throwing an error when checking them for change.