Commit graph

9 commits

Author SHA1 Message Date
Whatstone
de1418ac2e
Fix stack test async + stack system warning (#44982)
fix stack test async + stack system warning
2026-07-30 14:40:11 -04:00
Whatstone
b92ce00026
Bugfix: Check UIDs in TryMergeStacks (#44914)
Check entity UIDs in TryMergeStacks
2026-07-25 18:45:49 -04:00
riccardi48
9c6e65e855
Stack system tweaks (#44662)
* init

* oops

* changed order of TryMergeStacks

* cleanup

* tiny optimization

* documentation

* clean up

* popup

* flip args back

* bit more docs

* re-added popup

* move to prototype

* fix

* animation should always play here

* update after merge conflict

* review requests

* small tweak

* fix

* Update SharedStackSystem.cs

* spelling

* Revert "move to prototype"

* review requests

* docs

---------

Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
2026-07-21 00:14:17 +00:00
Whatstone
adf6ef4f37
Hotfix: Check recipient lifecycle in StackSystem.TryMergeStacks (#44753)
TryMergeStacks: check recipient lifecycle
2026-07-18 18:55:12 +00:00
āda
c97a503810
StackSystem tests and cleaning (#44496)
* new apis and tests

* more tests and stuff

* fix test fail

* test review

* api review

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
2026-07-17 05:10:04 +00:00
Whatstone
a8453723d8
Cleanup: ProtoMan Part 1 - remove Shared EntitySystem IPrototypeManager instances (#44386)
* Remove Shared System IPrototypeManager instances

* Remove RecipeManager IPrototypeManager instance

* Fix ItemSystem IPrototypeManager refs, use TryComp

* SharedItemSystem changes, EntWhitelist CompName

* HasComponent->HasComp
2026-06-29 10:18:44 +00:00
Sidzaru
be86aa2b5f
Fix dupe bug caused by StackSystem (#43738)
* Fix dupe bug  caused by StackSystem

* Removed TryComp
2026-04-26 04:17:43 +00:00
Samuka
ee618e3037
Add tile gun module (#41503)
* add tile gun module

* fix stacks being loaded all at once in guns

* fix tile gun module

* fixed indentation

* remove not necessary stuff

Co-authored-by: āda <ss.adasts@gmail.com>

* Use alias

Co-authored-by: āda <ss.adasts@gmail.com>

* fix OnBallisticInteractUsing

* forgot one

Co-authored-by: āda <ss.adasts@gmail.com>

* fix FillAmmo

* add another todo

* pass user instead of event args

Co-authored-by: āda <ss.adasts@gmail.com>

* fix last commit

* update todo

Co-authored-by: āda <ss.adasts@gmail.com>

* wrong place

* move gun to first slot

* custom sprite

* call a event

* important detail in the commentary

* remove recipe

* not used

* also not used anymore

* when did i remove this?

* fix sprite

* shoot faster

* move to shared

* use API method

* remove useless stuff

* Revert "remove useless stuff"

This reverts commit b198303aed7eb50aafb60e5a91b7af535219006b.

* fix code

* shot sound

* change spread

* fix attribution

* load sound

* empty sound

* commentary

* more commentary fix

* rename event

* remove duplicate

* who knew

* turn to mono

* yet another beep

* increase volume

* make it a crowbar

* make it able to self load clicking tiles

* make it able to pry tiles

* who needs a crowbar anymore

* make it networked

* no more hands

* move BeforeAmmoLoadedEvent call to TryBallisticInsert

* before now

* change sprite

* slight update to sprite

* mag visuals

* move split back to server

* get one method

* remove subscription

* use API method in the gun system

* move API call up

Co-authored-by: āda <ss.adasts@gmail.com>

* remove unused stuff

* fix get one method

* comment change

* half the firerate

---------

Co-authored-by: āda <ss.adasts@gmail.com>
Co-authored-by: beck-thompson <beck314159@hotmail.com>
Co-authored-by: iaada <iaada@users.noreply.github.com>
2026-04-03 21:30:12 +00:00
āda
8d8af1bab7
Stack System Cleanup (#38872)
* eye on the prize

* OnStackInteractUsing, TryMergeStacks, TryMergeToHands, TryMergeToContacts

* namespace

* Use, get count, getMaxCount

* component access

* add regions, mark TODO

* obsolete TryAdd, public TryMergeStacks

* GetMaxCount

* event handlers

* event handlers

* SetCount

* client server event handlers

* move to shared

* Revert "move to shared"

This reverts commit 45540a2d6b8e1e6d2a8f83a584267776c7edcd73.

* misc changes to shared

* split

* spawn and SpawnNextToOrDrop

* SpawnMultipleAtPosition, SpawnMultipleNextToOrDrop, CalculateSpawns, general server cleanup

* Rename Use to TryUse.

* Small misc changes

* Remove obsolete functions

* Remove some SetCount calls

* Partialize

* small misc change

* don't nuke the git dif with the namespace block

* Comments and reordering

* touchup to UpdateLingering

* Summary comment for StackStatusControl

* Last pass

* Actual last pass (for now)

* I know myself too well

* fixup

* goodbye lingering

* fixes

* review

* fix test

* second look

* fix test

* forgot

* remove early comp getting

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-10-25 14:40:48 +00:00