Skip to content

v1.2.0 - CityRPG in 2023

Latest
Compare
Choose a tag to compare
@LakeYS LakeYS released this 23 Jul 19:00
· 2 commits to master since this release
393f8fc
  • You no-longer need to be an Arms Dealer to sell axes and pickaxes.
  • Certain weapons now have higher restriction levels. By default, this only applies to Guns Akimbo, which is considered "highly restricted". Such items cannot be sold by Arms Dealers, only Store Managers and CEOs (higher edu. levels).
  • Shop owners now get notifications if someone tries to buy an item they are not licensed to sell.
  • If you try to buy an item that the seller is not licensed to sell, you now get the "not licensed" message immediately, instead of prompting you and having to click "yes".
  • Added a pref, "Allow building between lots", that allows players to build in-between lots that they own. This is disabled by default because it can cause brick ownership "pollution" if a player attempts to sell a lot with in-between bricks.
  • Lot limits are now enforced when buying new or pre-owned lots. You can see how many you own and the max at the real estate office. [921145c]
  • Fixed being able to buy an item you already have in your inventory at a shop. [698639f]
  • Fixed Grocer and Arms Dealer not being able to sell clothes. [1b2c2bf]
  • Fixed criminals not showing properly at the police brick. Fix contributed by @slowtahoe on GitHub. [93d8421]

Hosting Info

  • Added a new pref section and pref: Styling -> Text Color - Primary. This pref lets you change the accent/highlighting color for all messages coming from CityRPG.
  • You can now change the starting price for unclaimed lots under "Economy" in server prefs.
  • Fixed various console warnings when the gamemode loads.
  • Removed the unused "Max Economy Percentage" pref.

Developer Info

Jobs Changes

  • A new field for jobs has been added, sellRestrictedItemsLevel. This defines the 'restriction level' of an item, with 0 being unrestricted (sellable by all), 1 being restricted (weapons, dangerous items), and 2 being highly restricted (extra dangerous items). Higher levels may be implemented in the future.
    • In favor of the new sellRestrictedItemsLevel, the sellItems field is now deprecated. When creating new jobs, you should use the sellRestrictedItemsLevel option instead.
    • This option is automatically filled if you continue to use sellItems. The equivalents are: If sellItems is false, sellRestrictedItemsLevel is 0. if sellItems is true, sellRestrictedItemsLevel is 1.
    • Weapons with a restriction level of 2 (or above if higher levels are implemented in the future)