There is no “fire code” to override. The Sims 2 Castaway (PS2/PSP/DS/Wii) has **fire as a gameplay hazard** — not a cheat-locked setting.
Play the survival fantasy. Fire is part of the challenge. Build smart, skill up, keep water containers handy.