Skip to content

ZContracts 0.10.0

Choose a tag to compare

@zonical zonical released this 11 May 00:02
· 12 commits to master since this release

ZContracts 0.10.0 Changelog:

  • ⚠️zcontracts_tf2 now requires tf_econ_data to function. Please download it and install the plugin alongside this update! ⚠️
  • Added new forward, OnContractCompletableCheck, paired with the function CanClientCompleteContract
  • Added new subtract type to Contract events. Takes away the specified progress instead of adding. The HUD will be colored red when progress is subtracted.
  • Timers will now be displayed in the HUD for infinite objectives.
  • Added new weapon restrictions:
    • active_weapon_slot: The slot for the weapon set at m_hActiveWeapon (see items_game.txt)
    • active_weapon_name: The display economy name for the weapon set at m_hActiveWeapon.
    • active_weapon_classname: The classname of the weapon set at m_hActiveWeapon.
    • active_weapon_itemdef: The item definition index for the weapon set at m_hActiveWeapon.
    • inventory_item_name: The display economy name for an item in the players current inventory, weapon OR wearable.
    • inventory_item_classname: The classname for an item in the players current inventory, weapon OR wearable.
    • inventory_item_itemdef: The item definition index for an item in the players current inventory, weapon OR wearable.
  • Added new time restrictions:
    • contract_start_unixtime: The contract can be progressed after this timestamp.
    • contract_end_unixtime: The contract cannot be progressed after this timestamp.
  • Added a bunch of new testing contracts.
  • Contracts will now be saved with zero progress if a save is requested.