You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactored and streamlined the process of receiving the final item from the class-dependent pickup. The pickup will now properly call Touch() when the item is received from world, or CallTryPickup() when received directly. This means:
Any behavir in the final item's Touch() override will work as intended.
The mugshot will properly use its "grin" state if the pickup is a weapon.
The class-dependent pickup can be give directly through scripts or cheats, and the correct pickup will be given to the player depending on their playerclass.
The class-dependent pickup will not be picked up when not supposed to (for example, if you already have maximum amount of it).
Restructured the library. Example classes are now in a separate file, and all of the main code is now in a CDP_ZScript directory.