19,298 Commits over 1,614 Days - 0.50cph!
- Cleaning up Building a little
- Added Rested Effect
- Organising Scripts/AI/Common/Actions a bit
- Re-wrote ConsumeItem to deal with consumable effects instead of firing a seperate Modify Attribute action with derived settings
- Fixed some PlayerController selection/interaction issues
- Items deposited in buildings are deactivated
- SmartObject EnabledInteraction now adds the interaction if it is not in the list
- Added DepositToBuilding and ConstructBuilding actions
- Added Construct and DepositToBuilding Intercation chains
- Player can place campfires by right clicking on the ground (without a unit selected)
- Units can deposit items in buildings that are not constructed. A campfire takes 5 sticks to build
- Campfires also create a TribeHub object which tracks the available items within a radius (currently 50 units).
- Player can right click on a campfire and pick additional buildings to place. The list is filtered by availability, which is determined by the building's requirement list wihch is checked against the TribeHub stockpile via the campfire
- Building view creation tweaks (consitency between Item/Resource setup)
- Updated campfire asset
- EffectSettings now has TriggerStart and TriggerEnd instead of a single Trigger.
- Added basic fail state, when the player's tribe dies out, we pop a UI modal
- Fixed ActionChain constructor not assigning hashed_id of the EffectSettings
- Added IsStackable flag to EffectSettings, to control whether an effect can be applied to an agent multiple times
- Fixed PlayerCamera still taking input when UI in Modal state
Adds/Deletes/Moves I forgot to tick like a dumb dumb
- Added Unit Flags system and Actions to Get/Set them.
- Added UnitFlagCondition
- Death Effect reworked to check/set flags so it only gets triggered once
- Added Starving effect applied when Hunger reaches 0
- Fixed Unit.View.Animator NRE
- Fixed NotificationsWidget not firing when Activity is added
- Improved asset naming and display in BeforeEditor. All asset files are now saved with their type as a Prefix (Type.Name).
- Asset types are now shown in ReordableList elements in the editor
Added PickUp interaction to the Comsumable SO template
- Added Container/ContainerSettings item components and editor tab
- Splitting up PlayerController a bit into partials
- Added Container interaction handling to PlayerController
- Items can now only have a single ItemComponent of each type (for now)
- Refactored item view handling and setup (mostly for resources and buildings)
- Units can deposit items in containers, a temporary set of interactions is created when the player pops a radial on a container
Draft radial/context menu implementation. PlayerController deals with popping the radial and passing in the smartobject on RighClickDown. If an SO has more than one interaction, we should the radial with a button for each, otherwise right click will call TrySubscribe on the first interaction.
Attachemnts dict no longer uses string keys (AttachmentPoints enum)
- Unit+Attachments improvements. Now firing Animator.SetBool() for each AttachmentPoint when Attaching/Detaching Items
- Added Human CarryingRShoulder anim, updated controlls with new layers + masks for each arm and params for carrying
- Moved Human+Equipment logic and attachment handling to Unit+Attachments
- PickupItem now calls AttachItem
- Added Head attachment point to Human rig
- Renamed Equipment ItemComponent to Equippable
- Added Position and Rotation Offset for items when IsCarryable
- AttachmentPoint improvements
- Fixed NRE when SO vicinity radius is 0
- Updated HumanMale assets
updated human male assets
- Added Item.StoneAxe and art asset
- Added EquipItem Action
- Added Equip Interaction
- Added Equippable SmartObject
- Added Human+Equipment which handles equipping Items with Equipment components and attachment points (rough)
- Updated HumanMale with rig updates
Which all means that Human units can now pickup and then equip items to appropriate attachment points!
- Improvements to item view handling in BeforeEditor
- Added some basic art for wood/stick/berries items
- Resource now creates Interactions before passing them to its sibling SO. This is hacky for now, but it works
- Added Scripts/Utility/ItemSpawnTester
ItemComponetSettings creation first pass
- Item Refactor
- ItemSettings, Item and ItemView no longer abstract
- Added ItemComponent
- Resource renamed to CraftingMaterial
- Containers renamed back to Resource (TODO : Add generic Container that Resource and others will derive from)
- Resource, CraftingMaterial, Consumable and Equipment all derive from ItemComponent
- Added Editor tabs for different ItemComponents
Fix ZoneEditor not persisting the correct Biome enum
Arid Biome + Palm FloraGroup. ZoneSeasons editor update tweak (fixed biome editing preview)
Removing Colliders from Zone in all scenes
- Added AddToStockpile Action
- Added DepositItem Action
- Added ConsumableView, ContainerView
- Added Placeholder Sticks and Wood Views
- Added Constructable SO
- Cleanup/Fixes
Building construction requirements groundwork
Removed ResourceType from DispenserSettings.Item
Added ItemCategories enum
Reworked Harvesting a bit to use ItemCategories when finding the item to harvest
Building now derived from Item (which feels wrong, might rename Item to Entity?)
Fixed a dict lookup error in BeforeEditorTab
Better handling of MinMax sliders (float rounding to decimal places)
Vastly improved handling of AssetEnums in BeforeEditor (no more crap in SelectAsset)
Added Editor designs for Resource (Dispenser) Item management
Added option to hide assets with no editable properties in BeforeEditor
Renamed Incentives to Interactions
ItemSettings again holds a list of Interactions which are passed to the Sibling SO on Init
-merged with main
-fixed bug with focus point of camera rising
-consequently tried to fix, again, camera dropping jerkily from atop hills. Sort of succeded for most cases.
Add/Move/Deletes that I missed
Basic Item consumption now works.
ModifyAttribute supports Consumable derived "settings"
Added PickUpItem and ConsumeItem actions
Added smartobject_test scene assets
Action refactor v1
ActionChains now have a single execution method in Run()
Action has mehods for Start, Run and End
Refactored all existing Actions