524 Commits over 0 Days - ∞cph!
multiple trees
Merge branch 'main' of sbox-hc2
Durability should be saved to Inventories now. Removed debug logs for it.
Implemented Mining Laser / TraceWeapon functionality. Added StatModifier which prevents BaseStats being applied on top of it since it's a basic tool.
Block health working
Every hit does 1 damage for now
Fix possible NRE in drone chase graph
Starting on block health
Get rid of hardcoded gradient
NetworkSpawn persistence-created prefabs
corrected robot_shell_a colors + scale
Add [JsonIgnore, Hide] to BlockToIndex
Remove AllowedTools in favor of a GatherSourceKind (MaterialKind) on the Block defintion. Remove MinimumEffectiveness from the defintion too as it'll be unused in Zik's damage system
Added Mining Laser Item/Prefab and TraceWeapon (Doesn't do anything yet)
bothy update
Merge branch 'main' of sbox-hc2
Player death effect now spawns particles in bounds instead of from one spot
Fix VoxelParticles errors
Fix WorldItems falling through the world (my bad)
Remove my leftover debug logs
Added Durability Consumption on Weapon Use. Melee weapons only consume durability on hit
update signal_pylon colors
Set the current save id and name when loading it
Actually get the world ref in worldspage
Play lower-pitched damage sound on gib destroy
Fix loading voxels from a save
Add text-overflow: elipsis to crafting entries
Put ammo items in their own category
WIP saving world from pause menu
Added Projectile Weapon Ammo. Added CraftingYield to ItemAsset (So one metal piece can yield 4 ammo)
Added Block types. Update to use Block references. Added Palette.GetBlockIndex( Block ). Blocks can define tags, a name, max health and breakable settings / damage scales - @Metapyziks will implement health / block damage with this stuff
Hook in process of loading in your selected world
Save world gen seed etc, nicer RLE for chunks
LoadWorldState, untested
tree and bothy adjustments
Tree texture adjusted to be more wood coloured and moved it down in prefab so more of the roots are in the ground
Merge branch 'main' of sbox-hc2
Add new worlds page to UI, list out saved worlds
Some prep for picking world save file to load in menu system
Fix VoxelModel.DrawGizmos
Add temporary workaround for not being able to access PrefabInstanceSource for already-broken prefabs
added rock_scatter meshes
Speed up world gen
https://files.facepunch.com/ziks/2024-08-15/sbox-dev_eWK5BoSjtT.mp4
Fix some warnings
Spawn props on clients too, only network prefabs with NetworkMode.Object