User Tools

Site Tools


rpd:black_rat_mob

Black Rat

Black Rat

Description

Just a common house rat, not marsupial. The Black Rat is a custom mob implemented via JSON configuration to demonstrate mob creation capabilities for modders. It is functionally similar to other rat variants but with distinct appearance and properties.

Stats

  • HP (HT): 5
  • Defense Skill: 1
  • Attack Skill: 10
  • Damage: 1-1
  • Armor (DR): 1
  • EXP: 1
  • Max Level: 1
  • Speed: 2x normal speed
  • View Distance: 1
  • Attack Delay: 1

Behavior

  • Very fast movement speed (2x normal)
  • Low attack and defense capabilities
  • Drops Rat Hide as loot (100% chance)
  • Thief-like behavior: steals items from hero when attacking (inherits behavior from ScriptedThief.lua)

Implementation

The Black Rat demonstrates custom mob creation through JSON configuration files:

Content Verification

* Information source: JSON configuration files (mobsDesc/BlackRat.json, spritesDesc/BlackRat.json) * Stats verification: Extracted directly from JSON configuration * Implementation details: Based on JSON file structure * Last updated: December 2025, source: Remixed Dungeon 1.9.3

Source Code

* Configuration: BlackRat.json * Sprite: BlackRat sprite * Script: ScriptedThief.lua

See Also

Source Code References

rpd/black_rat_mob.txt · Last modified: by 127.0.0.1