Stable1.1.8
UPDATE
- Added config for SetAllowNonAsciiCharacters
- New config
CH_NPC_Shops.Config.UsingSetAllowNonAsciiCharacters - Added gas station entities by default.
- Added Max option to spawned entities. This works similar to the DarkRP max entity config that limits spawning x amount of a certain entity.
- Simply set a "Max" variable to an Entity item and it will only allow certain amounts at once. See "ch_gas_station_petrol" as an example.
Stable1.1.7
UPDATE
- Fixed error with robbery reward calculation.
Stable1.1.6
UPDATE
- Fixed being able to start multiple robberies on multiple NPCs at once.
- You can rob one NPC at once.
- Fixed rare problem were robbery alarm would continue playing.
- It's now properly linked uniquely to the NPC entity.
Stable1.1.5
UPDATE
- Added on screen display for cops of active robberies on stores.
- Config option
CH_NPC_Shops.Config.DisplayRobberyOnScreen - Added notifications for store robberies sent to cops.
- Config option
CH_NPC_Shops.Config.NotifyCopsOfRobbery
Stable1.1.4
UPDATE
- Increased the security distance for buying/selling at the NPCs.
Updated file: lua/ch_npc_shops/server/ch_npc_shops_functions.lua
Stable1.1.3
UPDATE
- Added the ability to disable selling weapons from job loadout.
- Enable or disable with config
CH_NPC_Shops.Config.CanSellLoadoutWeapons - Added new item type: Food
- Allows you to set type type as "Food" and give hunger to players upon purchase.
- You can find the new item in the default config or see this knowledge base article for more info.
Stable1.1.2
UPDATE
- Added the ability to show the sell price.
- Added config CH_NPC_Shops.Config.ShowSellPrice
- If enabled it will show the sell price based on SellProfit percentage for items that can be sold at the shop.
Updated files: shared/ch_npc_shops_config.lua and client/ch_npc_shops_ui.lua
Stable1.1.1
UPDATE
- Fixed bug when trying to sell multiple identical items that were spawned next to the NPC.
Updated file: lua/ch_npc_shops/server/ch_npc_shops_functions.lua
Stable1.1.0
UPDATE
- Changed method used to pose NPC sequences.
You can copy/paste all your config files over. They have not been changed.
Stable1.0.9
UPDATE
- Added in-game robbery config specific per NPC.
- You can now configure many of the robbery settings individually per NPC via the in-game config as an admin.
- Robbery time, reward percentage, player cooldown, alarm volume, distance to npc, robbery cooldown, alarm duration and cops required.
- There are still some general configs.
- You can also set the defaults in the regular config file as before and they will apply to newly spawned stores.
- Added support for Brick's Essential Inventory.
- Added a feature to require a minimum of police officers online to start a robbery.
- This is configured per NPC via the in-game config.
- Fixed some black outline missing in some admin tabs.
You can see the new in-game robbery config in the media section!
Stable1.0.8
UPDATE
- Added Polish translation thanks to TheAntek
- Added config to decide if menu stays open on buy/sell items.
- Config option
CH_NPC_Shops.Config.CloseMenuOnBuySell
Updated file: lua/ch_npc_shops/client/ch_npcs_shops_ui.lua and the config file.
Stable1.0.7
UPDATE
- Fixed not being able to sell weapons directly via ItemStore in DarkRP.
Updated file: lua/ch_npc_shops/server/ch_npc_shops_functions.lua