enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Level submission "Watchmaker"


From: Ronald Lamprecht
Subject: Re: [Enigma-devel] Level submission "Watchmaker"
Date: Sat, 15 Mar 2008 02:31:33 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Hi,

Raoul schrieb:
Ok; I have finished it and put it into "final". Enjoy.


"final" is not a valid levelstate. It's called "released".
Beside of that, I think, we can take this level into Enigma now.

@Ronald, Andreas:
What do you think?

The level idea seems to be ready.
But as Raoul mentioned, the last level post containes some typos in the XML part.

Just as a test I rewrote this level for the new upcoming 1.10 API. Just as a demo of the features of the new API I appended this rewrite - have a look at it! This version is running with the current development version r1070 and is to 100% the identical level. Please note that the object renaming is not finished, but most other features are.

Greets,

Ronald

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<el:level xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://enigma-game.org/schema/level/1 level.xsd" 
xmlns:el="http://enigma-game.org/schema/level/1";>
  <el:protected>
     <el:info el:type="level">
       <el:identity el:title="Watchmaker" el:subtitle="Mend the clockwork" 
el:id="20080309Berlin"/>
       <el:version el:score="1" el:release="1" el:revision="0" 
el:status="test"/>
       <el:author el:name="Johannes Hüsing" el:email="address@hidden" 
el:homepage="http://derwisch.wikidot.com"/>
       <el:copyright>Copyright &#xa9; 2008 Johannes Hüsing </el:copyright>
       <el:license el:type="GPL v2.0 or above" el:open="true"/>
       <el:compatibility el:enigma="1.10"/>
       <el:modes el:easy="false" el:single="true" el:network="false"/>
       <!-- I cannot do it, but then I have ten thumbs -->
       <el:score el:easy="-" el:difficult="-"/>
     </el:info>
    <el:luamain><![CDATA[
wo["ConserveLevel"] = true

ti[" "] = {"fl-metal4"}
ti["-"] = {"fl-metal2"}
ti["+"] = {"fl-metal3"}
ti["|"] = {"fl-metal6"}
ti["~"] = {"fl-water"}
ti["#"] = {"st-metal"}
ti["W"] = ti["+"] .. {"st-wood"}
ti["X"] = {"st_oxyd"}
ti[":"] = {"st-door-v","door#"}
ti["A"] = {"st_boulder_n", "boulderA"}
ti["a"] = {"it_trigger", target="boulderA", action_1="turn"}
ti["B"] = {"st_boulder_s", "boulderB"}
ti["b"] = {"it_trigger", target="boulderB", action_1="turn"}
ti["1"] = {"it_trigger", target={"door#5","door#6"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["2"] = {"it_trigger", target={"door#4","door#3"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["3"] = {"it_trigger", target={"door#7","door#8"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["4"] = {"it_trigger", target={"door#2","door#1"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["5"] = {"it_trigger", target={"door#6","door#7"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["6"] = {"it_trigger", target={"door#3","door#2"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["7"] = {"it_trigger", target={"door#8","door#5"}, action_1={"open","close"}, 
action_0={"nope","nope"}}
ti["8"] = {"it_trigger", target={"door#1","door#4"}, action_1={"open","close"}, 
action_0={"nope","nope"}}

ti["0"] = {"ac-blackball", 0.0, 0.5}

w, h = wo(ti, " ", {
"####################",
"#X : : : :~       A#",
"###########        #",
"#                  #",
"#   1-a-2  5-b-6   #",
"#   |+++|  |+++|   #",
"#   a+W+a 0b+W+b   #",
"#   |+++|  |+++|   #",
"#   3-a-4  7-b-8   #",
"#                  #",
"#        ###########",
"#B       ~: : : : X#",
"####################"
})

  ]]></el:luamain>
    <el:i18n>
      <el:string el:key="title">
        <el:english el:translate="true"/>
        <el:translation el:lang="de">Uhrmacher</el:translation>
        <el:translation el:lang="nl">Klokkenmaker</el:translation>
        <el:translation el:lang="ru">Часовщик</el:translation>
      </el:string>
      <el:string el:key="subtitle">
        <el:english el:translate="true"/>
        <el:translation el:lang="de">repariere das Uhrwerk</el:translation>
        <el:translation el:lang="nl">repareer het uurwerk</el:translation>
        <el:translation el:lang="ru">ремонтируй часовой мех
анизм</el:translation>
      </el:string>
    </el:i18n>
  </el:protected>
</el:level>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]