mr:black_rat_mob
Differences
This shows you the differences between two versions of the page.
| mr:black_rat_mob [2025/12/19 01:23] – docs: Update crystal_mob.txt with source references and mr: link mike | mr:black_rat_mob [2025/12/19 01:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Black Rat Mob - Code References ====== | ||
| + | This page contains raw code references and configuration excerpts for the Black Rat mob entity. | ||
| + | |||
| + | ==== Entity Kind ==== | ||
| + | * **getEntityKind() value:** BlackRat | ||
| + | |||
| + | ==== Java Implementation ==== | ||
| + | * **Class location:** [[code: | ||
| + | * **Inheritance: | ||
| + | |||
| + | ==== Lua Implementation ==== | ||
| + | **Basic stats:** | ||
| + | <code lua> | ||
| + | local mob = {} | ||
| + | |||
| + | function mob: | ||
| + | return " | ||
| + | end | ||
| + | |||
| + | function mob:hp() | ||
| + | return 5 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 1 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 5 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 10 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 5 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return math.random(1, | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return damage | ||
| + | end | ||
| + | </ | ||
| + | |||
| + | ==== Configuration ==== | ||
| + | * **File location:** [[code: | ||
| + | * **Entity Kind:** BlackRat | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | * **BlackRat_Name: | ||
| + | * **BlackRat_Desc: | ||
