From 31b3f2b2de970d5f45302a41381fa34b9797932e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 10 Dec 2016 16:22:57 +0100 Subject: [PATCH] remove Umlaut from Lua script --- scripts/eressea/ents.lua | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/eressea/ents.lua b/scripts/eressea/ents.lua index c764d8e0a..7808917fa 100644 --- a/scripts/eressea/ents.lua +++ b/scripts/eressea/ents.lua @@ -2,7 +2,7 @@ local function create_ents(r, number) local f = get_faction(666) if f~=nil and number>0 then u = unit.create(f, r, number, "ent") - u.name = "Wütende Ents" + u.name = "Rasende Ents" u:set_skill("perception", 2) msg = message.create("entrise") @@ -13,21 +13,11 @@ local function create_ents(r, number) return nil end -local function repair_ents(r) - for u in r.units do - if u.faction.id==666 and u.race == "undead" and u.name == "Wütende Ents" then - eressea.log.info("ent repair: " .. tostring(u)) - u.race = "ent" - end - end -end - local ents = {} function ents.update() local r for r in regions() do - repair_ents(r) if r:get_flag(0) then -- RF_CHAOTIC if r.terrain == "plain" and r:get_resource("tree")==0 then if math.random(3)==1 then