All pastes #749299 Raw Edit

Untitled

public text v1 · immutable
#749299 ·published 2007-10-25 16:27 UTC
rendered paste body
 <objectgroup name="Gruppo di Oggetti 4" width="0" height="0">
  <object name="Warp to Tulimshar" type="WARP" x="1792" y="384" width="160" height="32">
   <properties>
    <property name="DEST_MAP">
     3
    </property>
    <property name="DEST_X">
     1424
    </property>
    <property name="DEST_Y">
     2576
    </property>
   </properties>
  </object>
  <object name="Maggot spawn area" type="SPAWN" x="720" y="900" width="320" height="320">
   <properties>
    <property name="MONSTER_ID">
     1002
    </property>
   </properties>
  </object>
  <object name="npc1" type="NPC" x="1712" y="688" width="0" height="0">
   <properties>
    <property name="NPC_ID">
     107
    </property>
    <property name="SCRIPT">
     local nb_times = 1
     function npc_handler(npc, ch)
       do_message(npc, ch, "You know what?")
       do_message(npc, ch, string.format("I have already asked this question %d times today.", nb_times))
       nb_times = nb_times + 1
     end
    </property>
   </properties>
  </object>
  <object name="npc2" type="NPC" x="1712" y="752" width="0" height="0">
   <properties>
    <property name="NPC_ID">
     107
    </property>
    <property name="SCRIPT">
     function npc_handler(npc, ch)
       do_message(npc, ch, "Don't you think the guy behind me is my evil twin?")
     end
    </property>
   </properties>
  </object>
  <object name="Other npcs" type="SCRIPT" x="0" y="0" width="0" height="0">
   <properties>
    <property name="FILENAME">test.lua</property>
   </properties>
  </object>
 </objectgroup>