feat: enforce pay-per-kill combat licensing protocols

- Implemented "Pacifist Compliance" logic: Users attempting kinetic interactions (jumping on enemies) without a funded Combat Permit will now suffer immediate asset liquidation (death).
- Reclassified Goombas as "Premium Content"—interaction is prohibited for Free Tier users.
- Patched exploit where users could defend themselves without paying the "Self-Defense Surcharge."
- Enforced strict liability: Unfunded collision events now default to user termination rather than enemy defeat.
This commit is contained in:
Panic
2025-11-23 15:16:08 -07:00
parent 72052a52af
commit a23d0d2dc5

View File

@@ -10,6 +10,7 @@
#include "dialog_ids.h"
#include "engine/math_util.h"
#include "engine/surface_collision.h"
#include "game/mictrotransactions.h"
#include "game_init.h"
#include "interaction.h"
#include "level_update.h"
@@ -1364,6 +1365,11 @@ u32 interact_bounce_top(struct MarioState *m, UNUSED u32 interactType, struct Ob
queue_rumble_data(5, 80);
#endif
attack_object(obj, interaction);
if (m->numCredits > 0) {
deduct_credits(m, 1);
} else {
set_mario_action(m, ACT_STANDING_DEATH , 0);
}
bounce_back_from_attack(m, interaction);
if (interaction & INT_HIT_FROM_ABOVE) {