mr:black_cat_npc_mob
Differences
This shows you the differences between two versions of the page.
| mr:black_cat_npc_mob [2025/12/20 22:54] – Add missing mr: namespace pages for black_cat_mob, black_cat_npc_mob and dagger_item mike | mr:black_cat_npc_mob [2025/12/20 22:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== mr: | ||
| + | ==== Entity Kind ==== | ||
| + | ```lua | ||
| + | getEntityKind() == " | ||
| + | ``` | ||
| + | |||
| + | ==== JSON Configuration ==== | ||
| + | **File**: RemixedDungeon/ | ||
| + | ```json | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ``` | ||
| + | |||
| + | ==== Lua Script ==== | ||
| + | **File**: RemixedDungeon/ | ||
| + | ```lua | ||
| + | local RPD = require " | ||
| + | |||
| + | local mob = require" | ||
| + | |||
| + | return mob.init({ | ||
| + | interact = function(self, | ||
| + | self: | ||
| + | self: | ||
| + | end, | ||
| + | |||
| + | die = function(self, | ||
| + | local hero = RPD.Dungeon.hero | ||
| + | hero: | ||
| + | hero: | ||
| + | hero: | ||
| + | RPD.playSound( " | ||
| + | end, | ||
| + | |||
| + | spawn = function(me, | ||
| + | RPD.setAi(me," | ||
| + | end, | ||
| + | |||
| + | actionsList = function(self, | ||
| + | return {" | ||
| + | end, | ||
| + | |||
| + | execute = function(self, | ||
| + | if action == " | ||
| + | self: | ||
| + | end | ||
| + | end, | ||
| + | |||
| + | }) | ||
| + | ``` | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | **Key**: BlackCat_Phrases | ||
| + | **Values**: | ||
| + | - English: " | ||
| + | - Russian: " | ||
| + | |||
| + | ==== Code References ==== | ||
| + | - RemixedDungeon/ | ||
| + | - RemixedDungeon/ | ||
| + | - RemixedDungeon/ | ||
| + | - RemixedDungeon/ | ||
