You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
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:
@@ -10,6 +10,7 @@
|
|||||||
#include "dialog_ids.h"
|
#include "dialog_ids.h"
|
||||||
#include "engine/math_util.h"
|
#include "engine/math_util.h"
|
||||||
#include "engine/surface_collision.h"
|
#include "engine/surface_collision.h"
|
||||||
|
#include "game/mictrotransactions.h"
|
||||||
#include "game_init.h"
|
#include "game_init.h"
|
||||||
#include "interaction.h"
|
#include "interaction.h"
|
||||||
#include "level_update.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);
|
queue_rumble_data(5, 80);
|
||||||
#endif
|
#endif
|
||||||
attack_object(obj, interaction);
|
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);
|
bounce_back_from_attack(m, interaction);
|
||||||
|
|
||||||
if (interaction & INT_HIT_FROM_ABOVE) {
|
if (interaction & INT_HIT_FROM_ABOVE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user