Back to Games Matrix
ID: terraria
DOTNET成熟可用Singleplayer Safe
Terraria
Tactical Nuke launcher that craters the world with realistic shockwaves and fal-generated pixel art.
Game Engine.NET / XNA / FNA
Primary Hook RoutetModLoader (1.4.4+)
Anti-Cheat Safety Profile
100% Safe (Native Mod Support via Steam tModLoader)
Recommended Toolchain
tModLoaderILSpyfal (pixel-art)C# Compiler
AI Agent Reproduction Steps
1
Environment & Binary Reconnaissance
Run `um recon --game terraria` to detect .NET / XNA / FNA architecture and PE headers.
2
Headless Decompilation & Symbol Dump
Use tModLoader to dump class schemas and method offsets.
3
Locate Minimal Hook Target
Leverage tModLoader (1.4.4+) to attach to game tick and event lifecycle handlers.
4
Generative Asset Synthesis
Synthesize sprite textures, 3D meshes, or audio via fal.ai MCP integration.
5
Compile Delta & Run Offline Sandbox Loop
Compile the patch assembly and spawn game under strict offline sandbox boundaries.
Code Example
CSHARPEndgame superweapon with AI-generated pixel sprites, targeting reticle shaders, and seismic screen-shake. The nuke creates deep blast craters that disintegrate blocks and water in radius.
// Terraria Tactical Nuke World-Crater Hook
public class TacticalNukeProjectile : ModProjectile {
public override void Kill(int timeLeft) {
SoundEngine.PlaySound(SoundID.Item62, Projectile.position);
int blastRadius = 80; // tiles
for (int x = -blastRadius; x <= blastRadius; x++) {
for (int y = -blastRadius; y <= blastRadius; y++) {
if (Vector2.Distance(Vector2.Zero, new Vector2(x, y)) <= blastRadius) {
WorldGen.KillTile((int)(Projectile.Center.X / 16) + x, (int)(Projectile.Center.Y / 16) + y, false, false, true);
}
}
}
}
}Engine Architecture Playbook
View Playbook →