arch map
name Testmap - AI
msg
Created:  2005-08-04 Bjrn Axelsson
Modified: 2008-02-09 gecko
endmsg
width 24
height 24
difficulty 1
darkness -1
end
arch floor_ostone1
end
arch wall_stone1_8
end
arch floor_ostone1
y 1
end
arch wall_stone1_3
y 1
end
arch floor_ostone1
y 2
end
arch wall_stone1_3
y 2
end
arch floor_ostone1
y 3
end
arch wall_stone1_3
y 3
end
arch floor_ostone1
y 4
end
arch wall_stone1_3
y 4
end
arch floor_ostone1
y 5
end
arch wall_stone1_3
y 5
end
arch floor_ostone1
y 6
end
arch wall_stone1_3
y 6
end
arch floor_ostone1
y 7
end
arch wall_stone1_3
y 7
end
arch floor_ostone1
y 8
end
arch wall_stone1_3
y 8
end
arch floor_ostone1
y 9
end
arch wall_stone1_3
y 9
end
arch floor_ostone1
y 10
end
arch wall_stone1_3
y 10
end
arch floor_ostone1
y 11
end
arch wall_stone1_3
y 11
end
arch floor_ostone1
y 12
end
arch wall_stone1_3
y 12
end
arch floor_ostone1
y 13
end
arch wall_stone1_3
y 13
end
arch floor_ostone1
y 14
end
arch wall_stone1_3
y 14
end
arch floor_ostone1
y 15
end
arch wall_stone1_3
y 15
end
arch floor_ostone1
y 16
end
arch wall_stone1_3
y 16
end
arch floor_ostone1
y 17
end
arch wall_stone1_3
y 17
end
arch floor_ostone1
y 18
end
arch wall_stone1_3
y 18
end
arch floor_ostone1
y 19
end
arch wall_stone1_3
y 19
end
arch floor_ostone1
y 20
end
arch wall_stone1_3
y 20
end
arch floor_ostone1
y 21
end
arch wall_stone1_3
y 21
end
arch floor_ostone1
y 22
end
arch wall_stone1_3
y 22
end
arch floor_ostone1
y 23
end
arch wall_stone1_3
y 23
end
arch floor_ostone1
x 1
end
arch wall_stone1_1
x 1
end
arch floor_ostone1
x 1
y 1
end
arch stairs_wood_up
slaying testmap_main
hp 7
sp 4
x 1
y 1
end
arch floor_ostone1
x 1
y 2
end
arch ring_yordan
name ring of invisibility
item_level 1
make_invisible 1
see_invisible 1
x 1
y 2
end
arch floor_ostone1
x 1
y 3
end
arch floor_ostone1
x 1
y 4
end
arch female1
x 1
y 4
arch empty_ai
end
arch event_obj
name Lua
sub_type 6
race /dev/testmaps/ai_aimod.lua
end
end
arch floor_ostone1
x 1
y 5
end
arch grate1_1
x 1
y 5
end
arch floor_ostone1
x 1
y 6
end
arch floor_ostone1
x 1
y 7
end
arch floor_ostone1
x 1
y 8
end
arch floor_ostone1
x 1
y 9
end
arch floor_ostone1
x 1
y 10
end
arch floor_ostone1
x 1
y 11
end
arch floor_ostone1
x 1
y 12
end
arch floor_ostone1
x 1
y 13
end
arch floor_ostone1
x 1
y 14
end
arch floor_ostone1
x 1
y 15
end
arch floor_ostone1
x 1
y 16
end
arch floor_ostone1
x 1
y 17
end
arch floor_ostone1
x 1
y 18
end
arch floor_ostone1
x 1
y 19
end
arch floor_ostone1
x 1
y 20
end
arch floor_ostone1
x 1
y 21
end
arch floor_ostone1
x 1
y 22
end
arch floor_ostone1
x 1
y 23
end
arch wall_stone1_1
x 1
y 23
end
arch floor_ostone1
x 2
end
arch wall_stone1_1
x 2
end
arch floor_ostone1
x 2
y 1
end
arch floor_ostone1
x 2
y 2
end
arch floor_ostone1
x 2
y 3
end
arch floor_ostone1
x 2
y 4
end
arch sign
msg
The lady has an empty AI, but if you talk to her we will try to modify it
endmsg
x 2
y 4
end
arch floor_ostone1
x 2
y 5
end
arch grate1_1
x 2
y 5
end
arch floor_ostone1
x 2
y 6
end
arch floor_ostone1
x 2
y 7
end
arch floor_ostone1
x 2
y 8
end
arch floor_ostone1
x 2
y 9
end
arch floor_ostone1
x 2
y 10
end
arch floor_ostone1
x 2
y 11
end
arch floor_ostone1
x 2
y 12
end
arch floor_ostone1
x 2
y 13
end
arch floor_ostone1
x 2
y 14
end
arch floor_ostone1
x 2
y 15
end
arch floor_ostone1
x 2
y 16
end
arch floor_ostone1
x 2
y 17
end
arch floor_ostone1
x 2
y 18
end
arch floor_ostone1
x 2
y 19
end
arch floor_ostone1
x 2
y 20
end
arch floor_ostone1
x 2
y 21
end
arch floor_ostone1
x 2
y 22
end
arch floor_ostone1
x 2
y 23
end
arch wall_stone1_1
x 2
y 23
end
arch floor_ostone1
x 3
end
arch wall_stone1_1
x 3
end
arch floor_ostone1
x 3
y 1
end
arch floor_ostone1
x 3
y 2
end
arch floor_ostone1
x 3
y 3
end
arch floor_ostone1
x 3
y 4
end
arch floor_ostone1
x 3
y 5
end
arch grate1_1
x 3
y 5
end
arch floor_ostone1
x 3
y 6
end
arch floor_ostone1
x 3
y 7
end
arch floor_ostone1
x 3
y 8
end
arch floor_ostone1
x 3
y 9
end
arch floor_ostone1
x 3
y 10
end
arch floor_ostone1
x 3
y 11
end
arch floor_ostone1
x 3
y 12
end
arch floor_ostone1
x 3
y 13
end
arch floor_ostone1
x 3
y 14
end
arch floor_ostone1
x 3
y 15
end
arch floor_ostone1
x 3
y 16
end
arch floor_ostone1
x 3
y 17
end
arch floor_ostone1
x 3
y 18
end
arch floor_ostone1
x 3
y 19
end
arch floor_ostone1
x 3
y 20
end
arch floor_ostone1
x 3
y 21
end
arch floor_ostone1
x 3
y 22
end
arch floor_ostone1
x 3
y 23
end
arch wall_stone1_1
x 3
y 23
end
arch floor_ostone1
x 4
end
arch wall_stone1_1
x 4
end
arch floor_ostone1
x 4
y 1
end
arch floor_ostone1
x 4
y 2
end
arch floor_ostone1
x 4
y 3
end
arch floor_ostone1
x 4
y 4
end
arch floor_ostone1
x 4
y 5
end
arch grate1_1
x 4
y 5
end
arch floor_ostone1
x 4
y 6
end
arch floor_ostone1
x 4
y 7
end
arch floor_ostone1
x 4
y 8
end
arch floor_ostone1
x 4
y 9
end
arch floor_ostone1
x 4
y 10
end
arch floor_ostone1
x 4
y 11
end
arch floor_ostone1
x 4
y 12
end
arch floor_ostone1
x 4
y 13
end
arch floor_ostone1
x 4
y 14
end
arch floor_ostone1
x 4
y 15
end
arch floor_ostone1
x 4
y 16
end
arch floor_ostone1
x 4
y 17
end
arch floor_ostone1
x 4
y 18
end
arch floor_ostone1
x 4
y 19
end
arch floor_ostone1
x 4
y 20
end
arch floor_ostone1
x 4
y 21
end
arch floor_ostone1
x 4
y 22
end
arch floor_ostone1
x 4
y 23
end
arch wall_stone1_1
x 4
y 23
end
arch floor_ostone1
x 5
end
arch wall_stone1_1
x 5
end
arch floor_ostone1
x 5
y 1
end
arch floor_ostone1
x 5
y 2
end
arch floor_ostone1
x 5
y 3
end
arch floor_ostone1
x 5
y 4
end
arch floor_ostone1
x 5
y 5
end
arch grate1_1
x 5
y 5
end
arch floor_ostone1
x 5
y 6
end
arch floor_ostone1
x 5
y 7
end
arch floor_ostone1
x 5
y 8
end
arch floor_ostone1
x 5
y 9
end
arch floor_ostone1
x 5
y 10
end
arch floor_ostone1
x 5
y 11
end
arch floor_ostone1
x 5
y 12
end
arch floor_ostone1
x 5
y 13
end
arch floor_ostone1
x 5
y 14
end
arch floor_ostone1
x 5
y 15
end
arch floor_ostone1
x 5
y 16
end
arch floor_ostone1
x 5
y 17
end
arch floor_ostone1
x 5
y 18
end
arch floor_ostone1
x 5
y 19
end
arch floor_ostone1
x 5
y 20
end
arch floor_ostone1
x 5
y 21
end
arch floor_ostone1
x 5
y 22
end
arch floor_ostone1
x 5
y 23
end
arch wall_stone1_1
x 5
y 23
end
arch floor_ostone1
x 6
end
arch wall_stone1_1
x 6
end
arch floor_ostone1
x 6
y 1
end
arch floor_ostone1
x 6
y 2
end
arch sign
msg
This guy demonstrates how the AI system can be accessed through normal scripts
endmsg
x 6
y 2
end
arch floor_ostone1
x 6
y 3
end
arch floor_ostone1
x 6
y 4
end
arch sign
msg
The dwarf is just a test case for the
dont_stand_still behaviour
endmsg
x 6
y 4
end
arch floor_ostone1
x 6
y 5
end
arch grate1_1
x 6
y 5
end
arch floor_ostone1
x 6
y 6
end
arch floor_ostone1
x 6
y 7
end
arch floor_ostone1
x 6
y 8
end
arch floor_ostone1
x 6
y 9
end
arch floor_ostone1
x 6
y 10
end
arch floor_ostone1
x 6
y 11
end
arch floor_ostone1
x 6
y 12
end
arch floor_ostone1
x 6
y 13
end
arch floor_ostone1
x 6
y 14
end
arch floor_ostone1
x 6
y 15
end
arch floor_ostone1
x 6
y 16
end
arch floor_ostone1
x 6
y 17
end
arch floor_ostone1
x 6
y 18
end
arch floor_ostone1
x 6
y 19
end
arch floor_ostone1
x 6
y 20
end
arch floor_ostone1
x 6
y 21
end
arch floor_ostone1
x 6
y 22
end
arch floor_ostone1
x 6
y 23
end
arch wall_stone1_1
x 6
y 23
end
arch floor_ostone1
x 7
end
arch wall_stone1_1
x 7
end
arch floor_ostone1
x 7
y 1
end
arch floor_ostone1
x 7
y 2
end
arch ogre
unaggressive 1
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 7
y 2
arch event_obj
name Lua
sub_type 6
race /dev/testmaps/ai_ogrescript.lua
end
arch event_obj
name Lua
sub_type 10
race /dev/testmaps/ai_trigger.lua
end
end
arch floor_ostone1
x 7
y 3
end
arch floor_ostone1
x 7
y 4
end
arch dwarf_fighter
unaggressive 1
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 7
y 4
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
friendship
choose_enemy

moves:
# stand_still
sleep
dont_stand_still max_idle_time=0
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
arch floor_ostone1
x 7
y 5
end
arch grate1_1
x 7
y 5
end
arch floor_ostone1
x 7
y 6
end
arch floor_ostone1
x 7
y 7
end
arch floor_ostone1
x 7
y 8
end
arch floor_ostone1
x 7
y 9
end
arch floor_ostone1
x 7
y 10
end
arch floor_ostone1
x 7
y 11
end
arch floor_ostone1
x 7
y 12
end
arch floor_ostone1
x 7
y 13
end
arch floor_ostone1
x 7
y 14
end
arch floor_ostone1
x 7
y 15
end
arch floor_ostone1
x 7
y 16
end
arch floor_ostone1
x 7
y 17
end
arch floor_ostone1
x 7
y 18
end
arch floor_ostone1
x 7
y 19
end
arch floor_ostone1
x 7
y 20
end
arch floor_ostone1
x 7
y 21
end
arch floor_ostone1
x 7
y 22
end
arch floor_ostone1
x 7
y 23
end
arch wall_stone1_1
x 7
y 23
end
arch floor_ostone1
x 8
end
arch wall_stone1_1
x 8
end
arch floor_ostone1
x 8
y 1
end
arch floor_ostone1
x 8
y 2
end
arch floor_ostone1
x 8
y 3
end
arch floor_ostone1
x 8
y 4
end
arch floor_ostone1
x 8
y 5
end
arch grate1_1e
x 8
y 5
end
arch floor_ostone1
x 8
y 6
end
arch grate1_3
x 8
y 6
end
arch floor_ostone1
x 8
y 7
end
arch grate1_3
x 8
y 7
end
arch floor_ostone1
x 8
y 8
end
arch grate1_3
x 8
y 8
end
arch floor_ostone1
x 8
y 9
end
arch grate1_3
x 8
y 9
end
arch floor_ostone1
x 8
y 10
end
arch grate1_3
x 8
y 10
end
arch floor_ostone1
x 8
y 11
end
arch grate1_3
x 8
y 11
end
arch floor_ostone1
x 8
y 12
end
arch grate1_3
x 8
y 12
end
arch floor_ostone1
x 8
y 13
end
arch grate1_3
x 8
y 13
end
arch floor_ostone1
x 8
y 14
end
arch grate1_3
x 8
y 14
end
arch floor_ostone1
x 8
y 15
end
arch grate1_3
x 8
y 15
end
arch floor_ostone1
x 8
y 16
end
arch grate1_3
x 8
y 16
end
arch floor_ostone1
x 8
y 17
end
arch grate1_3
x 8
y 17
end
arch floor_ostone1
x 8
y 18
end
arch grate1_3
x 8
y 18
end
arch floor_ostone1
x 8
y 19
end
arch grate1_3
x 8
y 19
end
arch floor_ostone1
x 8
y 20
end
arch grate1_3
x 8
y 20
end
arch floor_ostone1
x 8
y 21
end
arch grate1_3
x 8
y 21
end
arch floor_ostone1
x 8
y 22
end
arch grate1_3
x 8
y 22
end
arch floor_ostone1
x 8
y 23
end
arch wall_stone1_1
x 8
y 23
end
arch floor_ostone1
x 9
end
arch wall_stone1_1
x 9
end
arch floor_ostone1
x 9
y 1
end
arch floor_ostone1
x 9
y 2
end
arch floor_ostone1
x 9
y 3
end
arch floor_ostone1
x 9
y 4
end
arch floor_ostone1
x 9
y 5
end
arch floor_ostone1
x 9
y 6
end
arch priest_church
unaggressive 1
direction 3
randomitems spells_priest;loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
con 1
x 9
y 6
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
friendship
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
heal_friend healing_min_friendship=0
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
arch ability_cause_lig_wound
name ability minor healing
sp 2
end
end
arch floor_ostone1
x 9
y 7
end
arch priest_church
name mob priest
unaggressive 1
direction 3
randomitems spells_priest;loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
con 1
friendly 0
face orc_priest.131
animation orc_priest
x 9
y 7
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
friendship
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
heal_friend healing_min_friendship=0
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
arch ability_cause_lig_wound
name ability minor healing
sp 2
end
end
arch floor_ostone1
x 9
y 8
end
arch floor_ostone1
x 9
y 9
end
arch floor_ostone1
x 9
y 10
end
arch floor_ostone1
x 9
y 11
end
arch floor_ostone1
x 9
y 12
end
arch floor_ostone1
x 9
y 13
end
arch floor_ostone1
x 9
y 14
end
arch floor_ostone1
x 9
y 15
end
arch floor_ostone1
x 9
y 16
end
arch floor_ostone1
x 9
y 17
end
arch floor_ostone1
x 9
y 18
end
arch floor_ostone1
x 9
y 19
end
arch floor_ostone1
x 9
y 20
end
arch floor_ostone1
x 9
y 21
end
arch floor_ostone1
x 9
y 22
end
arch floor_ostone1
x 9
y 23
end
arch wall_stone1_1
x 9
y 23
end
arch floor_ostone1
x 10
end
arch wall_stone1_1
x 10
end
arch floor_ostone1
x 10
y 1
end
arch sign
msg
This guy will latch onto and follow the first player he sees around.
Shows how to write movement, process and action behaviours
endmsg
x 10
y 1
end
arch floor_ostone1
x 10
y 2
end
arch floor_ostone1
x 10
y 3
end
arch floor_ostone1
x 10
y 4
end
arch floor_ostone1
x 10
y 5
end
arch floor_ostone1
x 10
y 6
end
arch sign
msg
The priest will heal you or friendly mobs if needed.
The orc will heal your enemies if they need it.
endmsg
x 10
y 6
end
arch floor_ostone1
x 10
y 7
end
arch floor_ostone1
x 10
y 8
end
arch floor_ostone1
x 10
y 9
end
arch floor_ostone1
x 10
y 10
end
arch floor_ostone1
x 10
y 11
end
arch floor_ostone1
x 10
y 12
end
arch floor_ostone1
x 10
y 13
end
arch floor_ostone1
x 10
y 14
end
arch floor_ostone1
x 10
y 15
end
arch floor_ostone1
x 10
y 16
end
arch floor_ostone1
x 10
y 17
end
arch floor_ostone1
x 10
y 18
end
arch floor_ostone1
x 10
y 19
end
arch floor_ostone1
x 10
y 20
end
arch floor_ostone1
x 10
y 21
end
arch floor_ostone1
x 10
y 22
end
arch floor_ostone1
x 10
y 23
end
arch wall_stone1_1
x 10
y 23
end
arch floor_ostone1
x 11
end
arch wall_stone1_1
x 11
end
arch floor_ostone1
x 11
y 1
end
arch kobold_big
name Bottle-Bottle
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 11
y 1
arch ai_generic
msg
processes:
look_for_other_mobs
friendship
# lua:/ai/test_behaviour.lua
lua:/ai/befriend_player.lua
choose_enemy
moves:
sleep
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
lua:/ai/move_towards_friend.lua
move_towards_waypoint
move_towards_home
actions:
lua:/ai/whine.lua
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
arch teddy
end
end
arch floor_ostone1
x 11
y 2
end
arch floor_ostone1
x 11
y 3
end
arch floor_ostone1
x 11
y 4
end
arch floor_ostone1
x 11
y 5
end
arch floor_ostone1
x 11
y 6
end
arch floor_ostone1
x 11
y 7
end
arch floor_ostone1
x 11
y 8
end
arch floor_ostone1
x 11
y 9
end
arch floor_ostone1
x 11
y 10
end
arch floor_ostone1
x 11
y 11
end
arch floor_ostone1
x 11
y 12
end
arch floor_ostone1
x 11
y 13
end
arch floor_ostone1
x 11
y 14
end
arch floor_ostone1
x 11
y 15
end
arch floor_ostone1
x 11
y 16
end
arch floor_ostone1
x 11
y 17
end
arch floor_ostone1
x 11
y 18
end
arch floor_ostone1
x 11
y 19
end
arch floor_ostone1
x 11
y 20
end
arch floor_ostone1
x 11
y 21
end
arch floor_ostone1
x 11
y 22
end
arch floor_ostone1
x 11
y 23
end
arch wall_stone1_1
x 11
y 23
end
arch floor_ostone1
x 12
end
arch wall_stone1_1
x 12
end
arch floor_ostone1
x 12
y 1
end
arch floor_ostone1
x 12
y 2
end
arch floor_ostone1
x 12
y 3
end
arch floor_ostone1
x 12
y 4
end
arch sign
msg
Test of the preliminary group system
The two groups don't like each other, but they like you even less.
Notice that any mob that can't get to you will go back to fighting mobs from the other group.
endmsg
x 12
y 4
end
arch floor_ostone1
x 12
y 5
end
arch floor_ostone1
x 12
y 6
end
arch floor_ostone1
x 12
y 7
end
arch floor_ostone1
x 12
y 8
end
arch floor_ostone1
x 12
y 9
end
arch floor_ostone1
x 12
y 10
end
arch floor_ostone1
x 12
y 11
end
arch floor_ostone1
x 12
y 12
end
arch floor_ostone1
x 12
y 13
end
arch floor_ostone1
x 12
y 14
end
arch floor_ostone1
x 12
y 15
end
arch floor_ostone1
x 12
y 16
end
arch sign
msg
Experimental swarm movement. The bees will swarm around the wasp
endmsg
x 12
y 16
end
arch floor_ostone1
x 12
y 17
end
arch floor_ostone1
x 12
y 18
end
arch floor_ostone1
x 12
y 19
end
arch floor_ostone1
x 12
y 20
end
arch floor_ostone1
x 12
y 21
end
arch floor_ostone1
x 12
y 22
end
arch floor_ostone1
x 12
y 23
end
arch wall_stone1_1
x 12
y 23
end
arch floor_ostone1
x 13
end
arch wall_stone1_1
x 13
end
arch floor_ostone1
x 13
y 1
end
arch grate1_3
x 13
y 1
end
arch floor_ostone1
x 13
y 2
end
arch grate1_3
x 13
y 2
end
arch floor_ostone1
x 13
y 3
end
arch grate1_3
x 13
y 3
end
arch floor_ostone1
x 13
y 4
end
arch gate1_locked
direction 4
x 13
y 4
end
arch floor_ostone1
x 13
y 5
end
arch grate1_3
x 13
y 5
end
arch floor_ostone1
x 13
y 6
end
arch grate1_3e
x 13
y 6
end
arch floor_ostone1
x 13
y 7
end
arch grate1_3
x 13
y 7
end
arch floor_ostone1
x 13
y 8
end
arch grate1_3
x 13
y 8
end
arch floor_ostone1
x 13
y 9
end
arch grate1_3
x 13
y 9
end
arch floor_ostone1
x 13
y 10
end
arch grate1_3
x 13
y 10
end
arch floor_ostone1
x 13
y 11
end
arch grate1_3
x 13
y 11
end
arch floor_ostone1
x 13
y 12
end
arch grate1_3e
x 13
y 12
end
arch floor_ostone1
x 13
y 13
end
arch grate1_3
x 13
y 13
end
arch floor_ostone1
x 13
y 14
end
arch grate1_3
x 13
y 14
end
arch floor_ostone1
x 13
y 15
end
arch grate1_3
x 13
y 15
end
arch floor_ostone1
x 13
y 16
end
arch grate1_3
x 13
y 16
end
arch floor_ostone1
x 13
y 17
end
arch grate1_3
x 13
y 17
end
arch floor_ostone1
x 13
y 18
end
arch grate1_3
x 13
y 18
end
arch floor_ostone1
x 13
y 19
end
arch grate1_3
x 13
y 19
end
arch floor_ostone1
x 13
y 20
end
arch grate1_3
x 13
y 20
end
arch floor_ostone1
x 13
y 21
end
arch grate1_3
x 13
y 21
end
arch floor_ostone1
x 13
y 22
end
arch grate1_3
x 13
y 22
end
arch floor_ostone1
x 13
y 23
end
arch wall_stone1_1
x 13
y 23
end
arch floor_ostone1
x 14
end
arch wall_stone1_1
x 14
end
arch floor_ostone1
x 14
y 1
end
arch floor_ostone1
x 14
y 2
end
arch floor_ostone1
x 14
y 3
end
arch floor_ostone1
x 14
y 4
end
arch floor_ostone1
x 14
y 5
end
arch floor_ostone1
x 14
y 6
end
arch grate1_1
x 14
y 6
end
arch floor_ostone1
x 14
y 7
end
arch floor_ostone1
x 14
y 8
end
arch floor_ostone1
x 14
y 9
end
arch floor_ostone1
x 14
y 10
end
arch floor_ostone1
x 14
y 11
end
arch floor_ostone1
x 14
y 12
end
arch grate1_1
x 14
y 12
end
arch floor_ostone1
x 14
y 13
end
arch floor_ostone1
x 14
y 14
end
arch floor_ostone1
x 14
y 15
end
arch floor_ostone1
x 14
y 16
end
arch floor_ostone1
x 14
y 17
end
arch floor_ostone1
x 14
y 18
end
arch floor_ostone1
x 14
y 19
end
arch floor_ostone1
x 14
y 20
end
arch floor_ostone1
x 14
y 21
end
arch floor_ostone1
x 14
y 22
end
arch floor_ostone1
x 14
y 23
end
arch wall_stone1_1
x 14
y 23
end
arch floor_ostone1
x 15
end
arch wall_stone1_1
x 15
end
arch floor_ostone1
x 15
y 1
end
arch floor_ostone1
x 15
y 2
end
arch floor_ostone1
x 15
y 3
end
arch floor_ostone1
x 15
y 4
end
arch floor_ostone1
x 15
y 5
end
arch floor_ostone1
x 15
y 6
end
arch grate1_1
x 15
y 6
end
arch floor_ostone1
x 15
y 7
end
arch floor_ostone1
x 15
y 8
end
arch floor_ostone1
x 15
y 9
end
arch floor_ostone1
x 15
y 10
end
arch floor_ostone1
x 15
y 11
end
arch floor_ostone1
x 15
y 12
end
arch grate1_1
x 15
y 12
end
arch floor_ostone1
x 15
y 13
end
arch floor_ostone1
x 15
y 14
end
arch floor_ostone1
x 15
y 15
end
arch floor_ostone1
x 15
y 16
end
arch floor_ostone1
x 15
y 17
end
arch floor_ostone1
x 15
y 18
end
arch floor_ostone1
x 15
y 19
end
arch floor_ostone1
x 15
y 20
end
arch floor_ostone1
x 15
y 21
end
arch floor_ostone1
x 15
y 22
end
arch floor_ostone1
x 15
y 23
end
arch wall_stone1_1
x 15
y 23
end
arch floor_ostone1
x 16
end
arch wall_stone1_1
x 16
end
arch floor_ostone1
x 16
y 1
end
arch floor_ostone1
x 16
y 2
end
arch floor_ostone1
x 16
y 3
end
arch floor_ostone1
x 16
y 4
end
arch floor_ostone1
x 16
y 5
end
arch floor_ostone1
x 16
y 6
end
arch grate1_1
x 16
y 6
end
arch floor_ostone1
x 16
y 7
end
arch floor_ostone1
x 16
y 8
end
arch floor_ostone1
x 16
y 9
end
arch floor_ostone1
x 16
y 10
end
arch floor_ostone1
x 16
y 11
end
arch floor_ostone1
x 16
y 12
end
arch grate1_1
x 16
y 12
end
arch floor_ostone1
x 16
y 13
end
arch floor_ostone1
x 16
y 14
end
arch floor_ostone1
x 16
y 15
end
arch floor_ostone1
x 16
y 16
end
arch wasp_giant
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 16
y 16
arch ai_generic
msg
processes:
look_for_other_mobs
friendship race=wasp:100 name=wasp_leader:400
choose_enemy
moves:
sleep
move_towards_enemy
lua:/ai/keep_distance_to_friends.lua
move_towards_enemy_last_known_pos
search_for_lost_enemy
lua:/ai/move_towards_friends.lua
move_towards_waypoint
move_towards_home
actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
arch floor_ostone1
x 16
y 17
end
arch floor_ostone1
x 16
y 18
end
arch floor_ostone1
x 16
y 19
end
arch floor_ostone1
x 16
y 20
end
arch floor_ostone1
x 16
y 21
end
arch floor_ostone1
x 16
y 22
end
arch floor_ostone1
x 16
y 23
end
arch wall_stone1_1
x 16
y 23
end
arch floor_ostone1
x 17
end
arch wall_stone1_1
x 17
end
arch floor_ostone1
x 17
y 1
end
arch floor_ostone1
x 17
y 2
end
arch floor_ostone1
x 17
y 3
end
arch floor_ostone1
x 17
y 4
end
arch floor_ostone1
x 17
y 5
end
arch floor_ostone1
x 17
y 6
end
arch grate1_1
x 17
y 6
end
arch floor_ostone1
x 17
y 7
end
arch floor_ostone1
x 17
y 8
end
arch floor_ostone1
x 17
y 9
end
arch floor_ostone1
x 17
y 10
end
arch floor_ostone1
x 17
y 11
end
arch floor_ostone1
x 17
y 12
end
arch grate1_1
x 17
y 12
end
arch floor_ostone1
x 17
y 13
end
arch floor_ostone1
x 17
y 14
end
arch floor_ostone1
x 17
y 15
end
arch floor_ostone1
x 17
y 16
end
arch floor_ostone1
x 17
y 17
end
arch floor_ostone1
x 17
y 18
end
arch floor_ostone1
x 17
y 19
end
arch wasp_giant
name wasp_leader
face bee_killer.131
animation bee_killer
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 17
y 19
arch ai_generic
msg
processes:
look_for_other_mobs
friendship race=wasp:100
choose_enemy
moves:
sleep
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_randomly
move_towards_waypoint
move_towards_home
actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
arch floor_ostone1
x 17
y 20
end
arch floor_ostone1
x 17
y 21
end
arch floor_ostone1
x 17
y 22
end
arch floor_ostone1
x 17
y 23
end
arch wall_stone1_1
x 17
y 23
end
arch floor_ostone1
x 18
end
arch wall_stone1_1
x 18
end
arch floor_ostone1
x 18
y 1
end
arch floor_ostone1
x 18
y 2
end
arch floor_ostone1
x 18
y 3
end
arch floor_ostone1
x 18
y 4
end
arch floor_ostone1
x 18
y 5
end
arch floor_ostone1
x 18
y 6
end
arch grate1_1
x 18
y 6
end
arch floor_ostone1
x 18
y 7
end
arch floor_ostone1
x 18
y 8
end
arch floor_ostone1
x 18
y 9
end
arch floor_ostone1
x 18
y 10
end
arch floor_ostone1
x 18
y 11
end
arch floor_ostone1
x 18
y 12
end
arch grate1_1
x 18
y 12
end
arch floor_ostone1
x 18
y 13
end
arch floor_ostone1
x 18
y 14
end
arch floor_ostone1
x 18
y 15
end
arch floor_ostone1
x 18
y 16
end
arch floor_ostone1
x 18
y 17
end
arch wasp_giant
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 18
y 17
arch ai_generic
msg
processes:
look_for_other_mobs
friendship race=wasp:100 name=wasp_leader:400
choose_enemy
moves:
sleep
move_towards_enemy
lua:/ai/keep_distance_to_friends.lua
move_towards_enemy_last_known_pos
search_for_lost_enemy
lua:/ai/move_towards_friends.lua
move_towards_waypoint
move_towards_home
actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
arch floor_ostone1
x 18
y 18
end
arch floor_ostone1
x 18
y 19
end
arch floor_ostone1
x 18
y 20
end
arch floor_ostone1
x 18
y 21
end
arch floor_ostone1
x 18
y 22
end
arch floor_ostone1
x 18
y 23
end
arch wall_stone1_1
x 18
y 23
end
arch floor_ostone1
x 19
end
arch wall_stone1_1
x 19
end
arch floor_ostone1
x 19
y 1
end
arch floor_ostone1
x 19
y 2
end
arch floor_ostone1
x 19
y 3
end
arch floor_ostone1
x 19
y 4
end
arch floor_ostone1
x 19
y 5
end
arch floor_ostone1
x 19
y 6
end
arch grate1_1
x 19
y 6
end
arch floor_ostone1
x 19
y 7
end
arch floor_ostone1
x 19
y 8
end
arch floor_ostone1
x 19
y 9
end
arch floor_ostone1
x 19
y 10
end
arch floor_ostone1
x 19
y 11
end
arch floor_ostone1
x 19
y 12
end
arch grate1_1
x 19
y 12
end
arch floor_ostone1
x 19
y 13
end
arch floor_ostone1
x 19
y 14
end
arch floor_ostone1
x 19
y 15
end
arch floor_ostone1
x 19
y 16
end
arch floor_ostone1
x 19
y 17
end
arch floor_ostone1
x 19
y 18
end
arch floor_ostone1
x 19
y 19
end
arch floor_ostone1
x 19
y 20
end
arch floor_ostone1
x 19
y 21
end
arch floor_ostone1
x 19
y 22
end
arch floor_ostone1
x 19
y 23
end
arch wall_stone1_1
x 19
y 23
end
arch floor_ostone1
x 20
end
arch wall_stone1_1
x 20
end
arch floor_ostone1
x 20
y 1
end
arch spawn_point
x 20
y 1
arch hobgoblin
type 83
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
wis 3
con 1
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
groups name=test2
friendship group=test1:-200 player=-1000
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
end
arch floor_ostone1
x 20
y 2
end
arch floor_ostone1
x 20
y 3
end
arch floor_ostone1
x 20
y 4
end
arch spawn_point
x 20
y 4
arch kobold_fighter
type 83
con 1
wis 3
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
groups name=test1
friendship group=test2:-200 player=-1000
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
end
arch floor_ostone1
x 20
y 5
end
arch floor_ostone1
x 20
y 6
end
arch grate1_1
x 20
y 6
end
arch floor_ostone1
x 20
y 7
end
arch floor_ostone1
x 20
y 8
end
arch floor_ostone1
x 20
y 9
end
arch floor_ostone1
x 20
y 10
end
arch floor_ostone1
x 20
y 11
end
arch floor_ostone1
x 20
y 12
end
arch grate1_1
x 20
y 12
end
arch floor_ostone1
x 20
y 13
end
arch floor_ostone1
x 20
y 14
end
arch floor_ostone1
x 20
y 15
end
arch floor_ostone1
x 20
y 16
end
arch floor_ostone1
x 20
y 17
end
arch floor_ostone1
x 20
y 18
end
arch wasp_giant
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 20
y 18
arch ai_generic
msg
processes:
look_for_other_mobs
friendship race=wasp:100 name=wasp_leader:400
choose_enemy
moves:
sleep
move_towards_enemy
lua:/ai/keep_distance_to_friends.lua
move_towards_enemy_last_known_pos
search_for_lost_enemy
lua:/ai/move_towards_friends.lua
move_towards_waypoint
move_towards_home
actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
arch floor_ostone1
x 20
y 19
end
arch floor_ostone1
x 20
y 20
end
arch floor_ostone1
x 20
y 21
end
arch floor_ostone1
x 20
y 22
end
arch floor_ostone1
x 20
y 23
end
arch wall_stone1_1
x 20
y 23
end
arch floor_ostone1
x 21
end
arch wall_stone1_1
x 21
end
arch floor_ostone1
x 21
y 1
end
arch spawn_point
x 21
y 1
arch hobgoblin
type 83
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
wis 3
con 1
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
groups name=test2
friendship group=test1:-200 player=-1000
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
end
arch floor_ostone1
x 21
y 2
end
arch floor_ostone1
x 21
y 3
end
arch floor_ostone1
x 21
y 4
end
arch spawn_point
x 21
y 4
arch kobold_fighter
type 83
con 1
wis 3
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
groups name=test1
friendship group=test2:-200 player=-1000
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
end
arch floor_ostone1
x 21
y 5
end
arch floor_ostone1
x 21
y 6
end
arch grate1_1
x 21
y 6
end
arch floor_ostone1
x 21
y 7
end
arch floor_ostone1
x 21
y 8
end
arch floor_ostone1
x 21
y 9
end
arch floor_ostone1
x 21
y 10
end
arch floor_ostone1
x 21
y 11
end
arch floor_ostone1
x 21
y 12
end
arch grate1_1
x 21
y 12
end
arch floor_ostone1
x 21
y 13
end
arch floor_ostone1
x 21
y 14
end
arch floor_ostone1
x 21
y 15
end
arch floor_ostone1
x 21
y 16
end
arch floor_ostone1
x 21
y 17
end
arch floor_ostone1
x 21
y 18
end
arch floor_ostone1
x 21
y 19
end
arch floor_ostone1
x 21
y 20
end
arch floor_ostone1
x 21
y 21
end
arch wasp_giant
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
x 21
y 21
arch ai_generic
msg
processes:
look_for_other_mobs
friendship race=wasp:100 name=wasp_leader:400
choose_enemy
moves:
sleep
move_towards_enemy
lua:/ai/keep_distance_to_friends.lua
move_towards_enemy_last_known_pos
search_for_lost_enemy
lua:/ai/move_towards_friends.lua
move_towards_waypoint
move_towards_home
actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
arch floor_ostone1
x 21
y 22
end
arch floor_ostone1
x 21
y 23
end
arch wall_stone1_1
x 21
y 23
end
arch floor_ostone1
x 22
end
arch wall_stone1_1
x 22
end
arch floor_ostone1
x 22
y 1
end
arch spawn_point
x 22
y 1
arch hobgoblin
type 83
randomitems loot;wealth_normal&D65;loot_base&D17;loot_misc&d27
wis 3
con 1
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
groups name=test2
friendship group=test1:-200 player=-1000
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
end
arch floor_ostone1
x 22
y 2
end
arch floor_ostone1
x 22
y 3
end
arch floor_ostone1
x 22
y 4
end
arch spawn_point
x 22
y 4
arch kobold_fighter
type 83
wis 3
con 1
arch ai_generic
msg
# This is a generic AI that can be used for most mobs
processes:
look_for_other_mobs
groups name=test1
friendship group=test2:-200 player=-1000
choose_enemy

moves:
# stand_still
sleep
# run_away_from_enemy hp_threshold=6
move_towards_enemy
move_towards_enemy_last_known_pos
search_for_lost_enemy
move_towards_waypoint
# move_randomly xlimit=5 ylimit=5
move_towards_home

actions:
melee_attack_enemy
bow_attack_enemy
spell_attack_enemy
endmsg
end
end
end
arch floor_ostone1
x 22
y 5
end
arch floor_ostone1
x 22
y 6
end
arch grate1_1
x 22
y 6
end
arch floor_ostone1
x 22
y 7
end
arch floor_ostone1
x 22
y 8
end
arch floor_ostone1
x 22
y 9
end
arch floor_ostone1
x 22
y 10
end
arch floor_ostone1
x 22
y 11
end
arch floor_ostone1
x 22
y 12
end
arch grate1_1
x 22
y 12
end
arch floor_ostone1
x 22
y 13
end
arch floor_ostone1
x 22
y 14
end
arch floor_ostone1
x 22
y 15
end
arch floor_ostone1
x 22
y 16
end
arch floor_ostone1
x 22
y 17
end
arch floor_ostone1
x 22
y 18
end
arch floor_ostone1
x 22
y 19
end
arch floor_ostone1
x 22
y 20
end
arch floor_ostone1
x 22
y 21
end
arch floor_ostone1
x 22
y 22
end
arch floor_ostone1
x 22
y 23
end
arch wall_stone1_1
x 22
y 23
end
arch floor_ostone1
x 23
end
arch wall_stone1_1
x 23
end
arch floor_ostone1
x 23
y 1
end
arch wall_stone1_3
x 23
y 1
end
arch floor_ostone1
x 23
y 2
end
arch wall_stone1_3
x 23
y 2
end
arch floor_ostone1
x 23
y 3
end
arch wall_stone1_3
x 23
y 3
end
arch floor_ostone1
x 23
y 4
end
arch wall_stone1_3
x 23
y 4
end
arch floor_ostone1
x 23
y 5
end
arch wall_stone1_3
x 23
y 5
end
arch floor_ostone1
x 23
y 6
end
arch wall_stone1_3
x 23
y 6
end
arch floor_ostone1
x 23
y 7
end
arch wall_stone1_3
x 23
y 7
end
arch floor_ostone1
x 23
y 8
end
arch wall_stone1_3
x 23
y 8
end
arch floor_ostone1
x 23
y 9
end
arch wall_stone1_3
x 23
y 9
end
arch floor_ostone1
x 23
y 10
end
arch wall_stone1_3
x 23
y 10
end
arch floor_ostone1
x 23
y 11
end
arch wall_stone1_3
x 23
y 11
end
arch floor_ostone1
x 23
y 12
end
arch wall_stone1_3
x 23
y 12
end
arch floor_ostone1
x 23
y 13
end
arch wall_stone1_3
x 23
y 13
end
arch floor_ostone1
x 23
y 14
end
arch wall_stone1_3
x 23
y 14
end
arch floor_ostone1
x 23
y 15
end
arch wall_stone1_3
x 23
y 15
end
arch floor_ostone1
x 23
y 16
end
arch wall_stone1_3
x 23
y 16
end
arch floor_ostone1
x 23
y 17
end
arch wall_stone1_3
x 23
y 17
end
arch floor_ostone1
x 23
y 18
end
arch wall_stone1_3
x 23
y 18
end
arch floor_ostone1
x 23
y 19
end
arch wall_stone1_3
x 23
y 19
end
arch floor_ostone1
x 23
y 20
end
arch wall_stone1_3
x 23
y 20
end
arch floor_ostone1
x 23
y 21
end
arch wall_stone1_3
x 23
y 21
end
arch floor_ostone1
x 23
y 22
end
arch wall_stone1_3
x 23
y 22
end
arch floor_ostone1
x 23
y 23
end
arch wall_stone1_4
x 23
y 23
end
