Naughty Bear (NB1)
What the first game’s scripts do. NB1’s scripts are compiled Lua bytecode, so Seam Ripper decompiles them when you open them, and the names you see in them come from Seam Ripper’s own name list. PiP is different: see Panic in Paradise.
| Page | System | Main scripts |
|---|---|---|
| Naughty’s hats | Health and damage per hat | naughtybear.lu → naughtybearhatbonus |
| Bear stats | Each bear’s health, fear, weapon and colour | naughtyisland.lu → naughtyisland_npcs; episode *_npcs |
| Scoring | Points and the combo multiplier | global.lu → scoremanager; naughtyisland.lu → naughtyisland_npcbase, librarygameevents |
| NPC fear | How bears get scared, including seeing Naughty attack another bear | global.lu → npc, globaldictionnary; naughtyisland.lu → naughtyisland_npcbase, naughtyisland_npcs |
| Bear personalities | Jock, Cheerleader, Threat, Smart: courage, moral, intelligence | global.lu → characterclasses |
| Episodes and challenges | Objectives, gate and bridge scores, challenge types, time limits | ep1story.lu → ep1_story_rules; ep1challenge1.lu → ep1_cha1_rules |
| Traps and sabotage | Bear trap damage, sabotage steps | beartrap.lu → beartraptrigger; bbq.lu → bbq_sabotage |
| Weapons and pickups | Picking up, dropping and despawning | weaponmethods (58 containers) |
| Game text | Where every word is kept and how to edit it | <container>.en_us.lu |