Remove obsolete fields. Other changes due to editor reformatting.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6255 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2007-05-13 13:34:51 +00:00
parent bfc943cd19
commit f0a52f28c2
6 changed files with 37 additions and 15 deletions

View File

@ -1,15 +1,15 @@
arch map arch map
name raffle name raffle
swap_time 5
reset_timeout 3600
fixed_resettime 1
width 18
height 18
msg msg
Creator: Anthony Thyssen Creator: Anthony Thyssen
Email: anthony@cit.gu.edu.au Email: anthony@cit.gu.edu.au
Date: Tue Dec 22 21:07:40 1998 Date: Tue Dec 22 21:07:40 1998
endmsg endmsg
x 18
y 18
value 5
weight 3600
stand_still 1
end end
arch dwall_2_2_2 arch dwall_2_2_2
y 1 y 1
@ -853,12 +853,12 @@ end
arch leather_armour arch leather_armour
name Yoroi of Banzai name Yoroi of Banzai
ac 4 ac 4
armour 10
x 12 x 12
y 1 y 1
immune 131072 resist_death 100
value 100000 value 100000
weight 5000 weight 5000
armour 10
end end
arch swall_2_1_2 arch swall_2_1_2
x 12 x 12

View File

@ -1,4 +1,7 @@
arch map arch map
name <unnamed>
width 16
height 16
msg msg
Creator: Gnat the Gnu Creator: Gnat the Gnu
Email: gnu@foo.bar Email: gnu@foo.bar
@ -14,5 +17,5 @@ arch goblin
name magic immune goblin name magic immune goblin
x 8 x 8
y 4 y 4
immune 2 resist_magic 100
end end

View File

@ -35,6 +35,7 @@ def do_help():
whoami.Say(' - light') whoami.Say(' - light')
whoami.Say(' - attacktype') whoami.Say(' - attacktype')
whoami.Say(' - players') whoami.Say(' - players')
whoami.Say(' - checkinv')
def do_arch(): def do_arch():
archs = Crossfire.GetArchetypes() archs = Crossfire.GetArchetypes()
@ -61,7 +62,7 @@ def do_maps():
maps = Crossfire.GetMaps() maps = Crossfire.GetMaps()
whoami.Say('%d maps loaded'%len(maps)) whoami.Say('%d maps loaded'%len(maps))
for map in maps: for map in maps:
whoami.Say('%s -> %d players'%(map.Name,map.Players)) whoami.Say('%s [%d] -> %d players'%(map.Name, map.Unique, map.Players))
#activator=Crossfire.WhoIsActivator() #activator=Crossfire.WhoIsActivator()
whoami.Say('this map is %s, size %d, %d'%(whoami.Map.Name, whoami.Map.Width, whoami.Map.Height)) whoami.Say('this map is %s, size %d, %d'%(whoami.Map.Name, whoami.Map.Width, whoami.Map.Height))
if (len(topic) > 1): if (len(topic) > 1):
@ -146,6 +147,7 @@ def do_resist():
def do_basics(): def do_basics():
whoami.Say('Basic test') whoami.Say('Basic test')
whoami.Say(' your type is %d'%who.Type) whoami.Say(' your type is %d'%who.Type)
whoami.Say(' your race is %s'%who.Race)
whoami.Say(' your level is %d'%who.Level) whoami.Say(' your level is %d'%who.Level)
whoami.Say(' your nrof is %d'%who.Quantity) whoami.Say(' your nrof is %d'%who.Quantity)
whoami.Say(' your weight is %d'%who.Weight) whoami.Say(' your weight is %d'%who.Weight)
@ -335,6 +337,17 @@ def do_players():
for pl in players: for pl in players:
whoami.Say(' - %s'%pl.Name) whoami.Say(' - %s'%pl.Name)
def do_checkinv():
if len(topic) > 1:
what = topic[1]
else:
what = 'force'
find = who.CheckInventory(what)
if find:
whoami.Say('Found %s in your inventory.'%find.Name)
else:
whoami.Say('Can\'t find %s in your inventory.'%what)
topic = Crossfire.WhatIsMessage().split() topic = Crossfire.WhatIsMessage().split()
#whoami.Say('topic = %s'%topic) #whoami.Say('topic = %s'%topic)
#whoami.Say('topic[0] = %s'%topic[0]) #whoami.Say('topic[0] = %s'%topic[0])
@ -396,5 +409,7 @@ elif topic[0] == 'attacktype':
do_attacktype() do_attacktype()
elif topic[0] == 'players': elif topic[0] == 'players':
do_players() do_players()
elif topic[0] == 'checkinv':
do_checkinv()
else: else:
do_help() do_help()

View File

@ -2406,7 +2406,6 @@ end
arch holy_shield arch holy_shield
name Greyshield name Greyshield
msg msg
The arts that crafted this shield have long The arts that crafted this shield have long
been lost. The Grey Master's works are but been lost. The Grey Master's works are but
a distant shadow of the might contained in a distant shadow of the might contained in
@ -2419,7 +2418,6 @@ But looking back at the shield, you
decide that it certainly doesn't emit any decide that it certainly doesn't emit any
light. As a matter of fact, it looks as if light. As a matter of fact, it looks as if
it would absorb light, were that possible... it would absorb light, were that possible...
endmsg endmsg
Dex 3 Dex 3
Con 3 Con 3
@ -2428,6 +2426,11 @@ Cha -3
ac 8 ac 8
x 20 x 20
y 11 y 11
resist_physical 100
resist_magic 100
resist_fire 100
resist_electricity 100
resist_cold 100
material 256 material 256
value 1000 value 1000
weight 5000 weight 5000
@ -2436,7 +2439,6 @@ glow_radius 5
identified 1 identified 1
reflect_missile 1 reflect_missile 1
reflect_spell 1 reflect_spell 1
immune 31
end end
arch teleporter arch teleporter
hp 7 hp 7

View File

@ -53,10 +53,12 @@ sp 1000
maxsp 1000 maxsp 1000
exp 200000 exp 200000
y 9 y 9
speed 4.000000 speed 4.0
attack_movement 103 attack_movement 103
resist_physical 100
resist_magic 100
resist_cold 100
carrying 1 carrying 1
immune 4127
arch eye arch eye
name silver ball name silver ball
face shell.111 face shell.111

View File

@ -2545,9 +2545,9 @@ Cha -2
x 17 x 17
y 8 y 8
attacktype 257 attacktype 257
resist_magic 30
material 256 material 256
magic 5 magic 5
protected 2
end end
arch teleporter arch teleporter
name teleporter1 name teleporter1