From 2445cbbbdca54d40d1c0a069cc360b06bf44d291 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 2 Jan 2012 16:08:59 +0200 Subject: Add ObjectRef:get_luaentity() --- data/mods/default/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'data/mods') diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index 75fdcb012..c0df7c514 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -208,6 +208,7 @@ -- - ^ Select sprite from spritesheet with optional animation and DM-style -- - texture selection based on yaw relative to camera -- - get_entity_name() +-- - get_luaentity() -- Player-only: (no-op for other objects) -- - get_player_name(): will return nil if is not a player -- - get_inventory() -> InvRef -- cgit v1.2.3