Boondorl
e6df94ca76
Fixed local copies of items not respecting their Amount value
2024-04-21 10:05:46 -04:00
Boondorl
70a165b566
Fixed local items not copying properties properly
...
Revert "Fixed local items not copying properties properly"
This reverts commit 5f352df587c629545fafc09e80428e645f5e8df3.
...
2024-04-15 17:55:49 +02:00
Rachael Alexanderson
22f04bb689
Merge branch 'master' into ItemSharing
2024-02-01 08:44:35 -05:00
Boondorl
c90a3290fe
Items set to stay or respawn no longer get picked up locally
2024-02-01 08:43:49 -05:00
Boondorl
c1539c2286
Added client-side item pick ups
...
Includes feature to disable Actor rendering locally (this cannot be checked from the playsim) and options for disabling co-op only things.
2024-02-01 08:43:49 -05:00
Boondorl
c3f26b5405
Improved key sharing functionality
...
Localized functionality to an inventory function so that any item can make use of sharing. Added flag to avoid infinite recursions. HandlePickup() will now also share keys (for more complete handling). PuzzleItems are now included in sharing.
2024-01-28 18:04:04 -05:00
jekyllgrim
19435293af
Add Actor.HasReceived
2024-01-04 14:33:06 -05:00
jekyllgrim
d0288264a2
Add Actor.CanReceive ( #2295 )
...
Adds CanReceive() to Actor, called by items from CallTryPickup(). This will let actors themselves determine if they can receive the item before any other checks.
Co-authored-by: Rachael Alexanderson <18584402+madame-rachelle@users.noreply.github.com>
2024-01-04 07:24:32 -05:00
Ricardo Luís Vaz Silva
0e70e95fa4
Add Inventory::ModifyBob and Inventory::ModifyBob3D
2023-09-14 16:28:38 +02:00
Marisa Kirisame
d5ad8b28ec
PreTravelled virtual for player and inventory.
2021-10-15 17:37:19 +02:00
Christoph Oelckers
486e07300c
- fixed: Inventory items that are terminated by GoAwayAndDie must be removed from the blockmap and sector lists.
...
Since they were just scheduled for delayed deletion any map related action they can trigger is unwanted.
2020-06-16 01:11:08 +02:00
Major Cooke
55284d46bf
Added A_StopAllSounds.
2020-02-29 19:19:51 +01:00
Major Cooke
39a9a48ad6
Added source, inflictor and damage flags to AbsorbDamage.
2020-02-09 19:07:52 +01:00
Christoph Oelckers
4a67bfcddb
- deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound
2020-01-04 14:25:55 +01:00
Christoph Oelckers
b7e1a35e6f
- cleaned up the parameters of A_StartSound.
...
There were two booleans that could be merged into the flag word.
This also fixes a bug with CHAN_NOSTOP not working for local sounds because it checked the wrong sound source for the playing sound.
2020-01-04 14:25:55 +01:00
Christoph Oelckers
d08bb93b84
- elimintated all cases from the ZScript code where channel indices and flags were combined into one parameter and removed all remnants of CHAN_PICKUP.
2019-12-30 09:47:25 +01:00
alexey.lysiuk
89ecd7a964
- fixed: pickup flash didn't fade out if player was killed by pickup
...
https://forum.zdoom.org/viewtopic.php?t=66135
2019-10-16 18:13:01 +03:00
Major Cooke
6327734659
Added CanTouchItem virtual.
...
- Allows an actor with +PICKUP flag to determine if it can pick up specific items or not.
2019-03-04 13:15:27 +01:00
Christoph Oelckers
b542d1371d
- reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting.
2019-02-23 12:08:27 +01:00