branchrust_reboot/main/HackWeek-TeaPrototypingcancel
26 Commits over 0 Days - ∞cph!
Added new teas to information panel
Added a poison warning if the tea is going to poison the player
Remove debug mode from explosive vis
Added a modular car speed tea, can be inserted into a dedicated engine module via a radial option if the player has the appropriate tea in their inventory
Doubles engine power for 15 minutes
WIll heavily poison player for 10 minutes if consumed
Add horse laxative tea, doubles rate of dung production when consumed by a horse for 15 minutes
Horse still requires food to produce dung even while this tea is active
Added the ability for a Modifier effect to only apply to a type of entity
Added a Horse speed tea, increases top speed of horses by 30% for 10 minutes after being eaten by a horse
If consumed by a player they will be heavily poisoned for 10 minutes
Tea target type proto change
Grenade arc visualiser starts at the viewmodel hand rather than the camera position (centre of screen)
Improved handling when throwing through narrow slots (use a raycast with thickness to tru and account for the size of the physics object)
Improved visual look
Break out the tea bufs and the poison side effect into separate UI elements in the inventory and the health bar vitals
WIP poisoning - if a player has more than three teas active they get a negative poison effect
Currently triggers a screen post effect and slowly ticks down both hydration and calories
Kicks in at 30% effectiveness when at 3 concurrent teas, 100% effectiveness at 6 teas
Added fall damage tea, halves incoming damage
Add weapon reload tea, all weapon reloads are 50% faster. Works on fractional weapons as well
Added cold and hot protection teas, clamps internal temperature to 5/25 degrees respectively after any clothing modifers are applied
Tea buffs UI should now work when spectating players and show the correct players buffs
Added temporary icons for all new teas
Deploy speed change is now represented on third person model via new ModifierSpeedController on the deploy state
Experimenting with a tea that doubles speed of weapon deploy animation
Currently only displaying on the viewmodel animations, not the third person model
Added an auto smelt tea, automatically smelts metal/high quality metal/sulfur ore in the players main inventory into the their respective smelted forms every 5s.
Will stop if inventory is full (so you don't leave a trail of smelted ore while travelling)
Added a health regen tea, slowly heals the player by 1hp/s if they are not in combat (not been attacked/attacked something else for 15s) and have greater than 0 food and water
Add explosive sense tea, shows an arc and blast radius when throwing explosives
The arc terminates at the first collision, so it won't be 100% accurate due to bounces, rolling, etc
The arc only appears while holding down the throw button
Only hooked up on the F1 grenade for now
WIP rigidbody arc visualisation
Implemented a tea that doubles the speed of recycling
Fixed a bunch of issues with the sense particles, they now work in world space and don't break with motion vectors
Fixed craft speed tea increasing duration rather than decreasing
Fixed NoZTest particle shader to use the colour applied to the particle system
First pass on a tea to sense animals through solid surfaces
Enables a particle system with ZTest disabled if player is within 50m, currently only added to wolf prefab
Add crafting speed tea, increases crafting time by 50% for the duration
Added an underwater breathing tea