User Tools

Site Tools


mr:remixed_fetid_rat_mob

Fetid Rat Mob - Code References

Machine-readable reference page for the Fetid Rat mob entity

Java Classes

JSON Configuration

{
  "defenseSkill": 5,
  "attackSkill": 12,
  "exp": 0,
  "maxLvl": 1,
  "dmgMin": 2,
  "dmgMax": 6,
  "dr": 2,
  "ht": 15,
  "loot": {"kind":"RatSkull"},
  "lootChance": 1,
  "name": "FetidRat_Name",
  "name_objective": "FetidRat_Name_Objective",
  "description": "FetidRat_Desc",
  "gender": "FetidRat_Gender",
  "spriteDesc": "spritesDesc/Rat.json",
  "walkingType": "NORMAL",
  "scriptFile": "scripts/mobs/RemixedFetidRat"
}

String Resources

String resource keys used across all localizations:

  • FetidRat_Name - Display name (varies by language)
  • FetidRat_Name_Objective - Objective case name
  • FetidRat_Desc - Description text
  • FetidRat_Gender - Grammatical gender (feminine in most languages)

Localization files containing FetidRat strings:

Lua Scripts

  • RemixedFetidRat.lua - Mob behavior script:
    1. Implements three gas emission types (paralytic, confusion, toxic)
    2. Uses commonClasses and mob libraries
    3. Places gas blobs based on random kind selection (1-3)

Sprite References

  • Sprite configuration: spritesDesc/Rat.json - Shared rat sprite configuration
  • Wiki image: Fetid Rat Sprite (uses standard rat sprite)

Entity Kind

  • Entity Kind: RemixedFetidRat
  • Used in: JSON configs, Lua scripts, AlchemyRecipes.java
  • Mob Type: Standard mob with special gas emission behavior
mr/remixed_fetid_rat_mob.txt · Last modified: by 127.0.0.1