Implemented, with changes backported from svn trunk, python guild hall patch: [ 1782975 ] Python guilds template. - applied, needs to check all is ok

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8579 282e977c-c81d-0410-88c4-b93c2d0d6712
master
rjtanner 2008-03-22 06:28:26 +00:00
parent 3c49c90d04
commit ee41ba1844
20 changed files with 935 additions and 3300 deletions

View File

@ -228,7 +228,7 @@ arch cobblestones2
x 1
y 17
end
arch dwall3_3
arch dwall_3_3
x 1
y 17
end

View File

@ -21,6 +21,7 @@ import CFGuilds
import CFItemBroker
import random
import string
gbfile='/cftmp/guildbalance.txt' #location of the balance of dues paid, where it should go depends on your distribution, uses an absolute path.
x=6
y=7
x1=31
@ -37,41 +38,70 @@ activator=Crossfire.WhoIsActivator()
activatorname=activator.Name
mymap = activator.Map
whoami=Crossfire.WhoAmI()
print whoami.Name
if whoami.Name=='Jack':
remarklist = ['Excellent','Thank You','Thank You','Thank You', 'Thank You', 'Great', 'OK', 'Wonderful', 'Swell', 'Dude', 'Big Spender']
exclaimlist = ['Hey','Hey','Hey','Hey', 'Now just a minute', 'AHEM', 'OK...Wait a minute', 'Look chowderhead']
buddylist = ['buddy','buddy','buddy','buddy','pal','friend','friend','friend','friend','dude','chum', 'sweetie']
remarklist = ['Excellent','Thank You','Thank You','Thank You', 'Thank You', 'Great', 'OK', 'Wonderful', 'Swell', 'Dude', 'Big Spender']
exclaimlist = ['Hey','Hey','Hey','Hey', 'Now just a minute', 'AHEM', 'OK...Wait a minute', 'Look chowderhead']
buddylist = ['buddy','buddy','buddy','buddy','pal','friend','friend','friend','friend','dude','chum', 'sweetie']
guildname=Crossfire.ScriptParameters() # 6 is say event
text = string.split(Crossfire.WhatIsMessage())
guildname=Crossfire.ScriptParameters() # 6 is say event
text = string.split(Crossfire.WhatIsMessage())
if (guildname):
guild = CFGuilds.CFGuild(guildname)
cointype = "jadecoin" #What type of token are we using for guild dues?
object = activator.CheckInventory(cointype)
if (guildname):
guild = CFGuilds.CFGuild(guildname)
cointype = "jadecoin" #What type of token are we using for guild dues?
object = activator.CheckInventory(cointype)
if text[0] == 'help' or text[0] == 'yes':
message='Let me know how many jade coins you want to pay. Say pay <amount>'
if text[0] == 'help' or text[0] == 'yes':
message='Let me know how many %s you want to pay. Say pay <amount>' %cointype
elif text[0] == 'pay':
if len(text)==2:
cost = int(text[1])
if (object):
pay = CFItemBroker.Item(object).subtract(cost)
if (pay):
guild.pay_dues(activatorname,cost)
message = "%s, %d %s paid to the guild." %(random.choice(remarklist),cost, cointype)
else:
if cost > 1:
message ="%s, you don't have %d %ss." %(random.choice(exclaimlist),cost,cointype)
else:
message ="You don't have any %s %s." %(cointype,random.choice(buddylist))
else:
message = "Come back when you got the %ss %s." %(cointype,random.choice(buddylist))
else:
message = "How much ya wanna pay %s?" %(random.choice(buddylist))
else:
message = "Howdy %s, paying some guild dues today?" %(random.choice(buddylist))
whoami.Say(message)
elif text[0] == 'pay':
if len(text)==2:
cost = int(text[1])
if (object):
pay = CFItemBroker.Item(object).subtract(cost)
if (pay):
guild.pay_dues(activatorname,cost)
message = "%s, %d %s paid to the guild." %(random.choice(remarklist),cost, cointype)
guildbalance = open(str(gbfile), 'r')
guildbalance2 = guildbalance.read()
guildbalance1 = int(guildbalance2) + int(cost)
guildbalance.close()
guildbalance3 = open(str(gbfile), 'w')
guildbalance4 = str(guildbalance1)
guildbalance3.write(guildbalance4)
print guildbalance4
else:
if cost > 1:
message ="%s, you don't have %d %ss." %(random.choice(exclaimlist),cost,cointype)
else:
message ="You don't have any %s %s." %(cointype,random.choice(buddylist))
else:
message = "Come back when you got the %ss %s." %(cointype,random.choice(buddylist))
else:
message = "How much ya wanna pay %s?" %(random.choice(buddylist))
else:
message = "Howdy %s, paying some guild dues today?" %(random.choice(buddylist))
whoami.Say(message)
else:
activator.Write('Guildname Error, please notify a DM')
else:
activator.Write('Guildname Error, please notify a DM')
guildbalance=open(str(gbfile), 'r')
balance=guildbalance.read()
x = activator.X
y = activator.Y
amount=int(balance)
if amount <= 0:
message = 'No dues have been paid.'
else:
message = '%d dues withdrawn.' % amount
id = activator.Map.CreateObject('jadecoin', x, y)
CFItemBroker.Item(id).add(amount)
activator.Take(id)
guildbalance.close()
guildbalance3= open(str(gbfile), 'w')
guildbalance3.write('0')
guildbalance3.close()

View File

@ -26,8 +26,8 @@ import string
activator=Crossfire.WhoIsActivator()
activatorname=activator.Name
mymap = activator.Map
x=15
y=29
x=32
y=16
whoami=Crossfire.WhoAmI()
guildname=Crossfire.ScriptParameters() # 6 is say event
@ -56,10 +56,12 @@ if (guildname):
message = 'You are currently suspended from the guild'
elif record['Status'] == 'probation':
message = 'Granted, but you are on probation'
y=22
x=15
y=22
else:
message = 'Entry granted for %s' %activatorname
y=22
x=15
else:
message = 'You try my patience %s. BEGONE!' %activatorname
activator.Teleport(mymap,int(x),int(y)) #teleport them

View File

@ -17,6 +17,6 @@ if points:
else:
pass
else:
Crossfire.Log(Crossfire.LogError, 'Error, no points specified in %s on map %s' %(whoami,mapname))
print 'Error, no points specified in %s on map %s' %(whoami,mapname)

View File

@ -32,7 +32,7 @@ if (guildname):
names.append(player.Name)
if len(players) == 3:
Crossfire.Log(Crossfire.LogInfo, '%s,%s and %s found guild %s' %(names[0], names[1], names[2], guildname))
print '%s,%s and %s found guild %s' %(names[0], names[1], names[2], guildname)
CFGuilds.CFGuildHouses().establish(guildname)
#Masterize them
@ -50,7 +50,7 @@ if (guildname):
else:
message = 'To purchase a guild requires two additional persons to stand on the alcoves above.'
else:
Crossfire.Log(Crossfire.LogError, 'Guild Purchase Error: %s, %s' %(guildname, activatorname))
print 'Guild Purchase Error: %s, %s' %(guildname, activatorname)
message = 'Guild Purchase Error, please notify a DM'
whoami.Say(message)

View File

@ -56,7 +56,7 @@ if (guildname):
else:
message = 'No one is in the chair!'
else:
Crossfire.Log(Crossfire.LogError, 'Guild Join Error: %s' %(guildname))
print 'Guild Join Error: %s' %(guildname)
message = 'Guild Join Error, please notify a DM'
whoami.Say(message)

View File

@ -27,10 +27,11 @@ activator=Crossfire.WhoIsActivator()
activatorname=activator.Name
whoami=Crossfire.WhoAmI()
isDM=activator.DungeonMaster
mymap=activator.Map
print mymap
log=CFLog.CFLog()
guildname=Crossfire.ScriptParameters() # 6 is say event
Crossfire.Log(Crossfire.LogDebug, "Activated %s" %guildname)
print "Activated %s" %guildname
if (guildname):
guild = CFGuilds.CFGuild(guildname)
@ -79,7 +80,7 @@ if (guildname):
if record:
if guild.promote_member(text[1]):
record = guild.info(text[1]) #refresh record
message = '%s promoted to %s' %(text[1], record['Rank'])
message = '%s promoted to %s' %(text[1], record['Rank'])
else:
message = 'You cannot promote %s' %text[1]
else:

View File

@ -0,0 +1,110 @@
# Script for entering guild houses
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# authors: majorwoo josh@woosworld.net, Avion temitchell@sourceforge.net
import Crossfire
import CFGuilds
import sys
import string
activator=Crossfire.WhoIsActivator()
activatorname=activator.Name
mymap = activator.Map
gdues=open('share/maps/python/guilds/guildbalance.py', 'r')
balance = gdues.readline (1)
gdues.close()
whoami=Crossfire.WhoAmI()
guildname=Crossfire.ScriptParameters() # 6 is say event
x=1
y=7
x1=18
y1=4
x2=18
y2=6
if (guildname):
guild = CFGuilds.CFGuild(guildname)
text = string.split(Crossfire.WhatIsMessage())
guildrecord = CFGuilds.CFGuildHouses().info(guildname)
found = 0
if text[0] == 'dues' or text[0] == 'Dues':
record = guild.info(activatorname) #see if they are on the board
if record:
#check their status
if record['Status'] == 'suspended':
message = 'You are currently suspended from the guild'
else:
if record['Status'] == 'probation':
message = 'You are on probation, you may not recieve dues.'
else:
if balance >= 1001:
balance1 = int (balance) - 1000
gdues1=open('share/maps/python/guilds/guildbalance.py', 'w')
balance2 = str (balance1)
gdues1.write (balance2)
gdues1.close()
message = 'Paying out now.'
activator.Teleport(mymap,int(x2),int(y2))
activator.Teleport (mymap,int(x),int(y))
else:
if balance >= 101:
balance1 = int (balance) - 100
gdues1=open('share/maps/python/guilds/guildbalance.py', 'w')
balance2 = str (balance1)
gdues1.write (balance2)
gdues1.close()
message = 'Paying out now.'
activator.Teleport(mymap,int(x1),int(y1))
activator.Teleport (mymap, int (x),int(y))
else:
message = 'Insufficient funds, try again later.'
else:
message = 'You are not in the guild, %s. Leave now!' %activatorname
elif text[0] == 'buy' or text[0] == 'Buy':
if guildrecord['Status'] == 'inactive':
in_guild = CFGuilds.SearchGuilds(activatorname)
if in_guild == 0:
x = 30
y = 22
message = "Proceed, but know ye that three are required to found a guild and the cost is high"
activator.Teleport(mymap,int(x),int(y)) #teleport them
else:
message = "Sorry you already belong to the %s guild. You must quit that guild before founding your own." %in_guild
else:
message = 'This guild is already owned.'
else:
message = 'This is the entry to the great %s guild. Enter or begone!' %guildname
else:
message = 'Guild Guardian Error, please notify a DM'
whoami.Say(message)

View File

@ -4,21 +4,74 @@
1 Install:
All files go within the crossfire server folder
Step 1: Copy the map files to ./share/maps/guilds/<guildname> (<guildname> is not the folder name, but rather whatever guild name you are using)
#(Note: With the current map and server there are three guilds, they are: GUILD_TEMPLATE, PoisonedDagger, and GreenGoblin. Whatever name you give the folder should work, but it will still use GUILD_TEMPLATE. You can change what guild it uses by editing the map files. There are 8 objects that need to be changed. The first 5 are on the main floor, the next two are in the guildhq and the final one is in hallofjoining. It's not that hard, but you will need a map editor. You find the object that has the script, click edit data, and change the line "script options" (which currently is "GUILD_TEMPALTE") to the guild you wish to use. And make sure you use the same one for all of them or it won't work.
1:The guardian sign, its out front of the building on the bridge.
2:It's the altar in the lower right corner of the map.
3:It's Jack, the beholder in the main hall.
4:The message sign, look for it in the upper right corner of the map.
5:The Big Lever, also in the upper right section.
6:The oracle in the centre of the room, in the guild HQ,
7:The guild master's sign straight above the oracle at the wall.
8:"Load" the switch on the left in the hallofjoining.)
Step 2: Copy the scripts to ./share/maps/python/guilds
Step 3: Choose where you want the guild and edit the world map, place a guildhall, and set the exit path to /guilds/<guildname>
#(Note 2: (don't worry it's short) you must have python plugin installed for the guild to work)
Step 1: Copy the map files to ./share/maps/guilds/<guildname>
(<guildname> is not the folder name, but rather whatever guild name you are using)
* With the current map and server there are three guilds, they are: GUILD_TEMPLATE, PoisonedDagger, and GreenGoblin.
* Whatever name you give the folder should work, but it will still use GUILD_TEMPLATE.
* You can change what guild it uses by editing the map files.
Modify Map Files:
There are 6 objects that need to be changed. The first three are on the main floor, the next two are in the guild_hq and the final one is in hallofjoining.
It's not that hard, but you will need a map editor. You find the object that has the script, click edit data, and change the line "script options" (which currently is "GUILD_TEMPALTE") to the guild you wish to use. And make sure you use the same one for all of them or it won't work.
It's not that hard, but you will need a map editor. You'll need to find the object that has the script (more on this, below)
1.) Left click on the object (ex: sign) so it's selected
2.) Click on the Scripts tab
3.) Click Edit Data button
4.) Change the line "script options" (which currently is "GUILD_TEMPALTE") to the guild you wish to use. And make sure you use the same one for all of them or it won't work.
mainfloor map:
1:The guardian, its a sign out front of the building *under* the bridge. (x15, y25)
2:The message sign, look for it in the upper right corner of the map. (x31, y7)
3:The Big Lever, also in the upper right section. (x15, y16)
guild hq map:
4:The oracle in the centre of the room, in the guild HQ. (x7, y7)
5:The guild master's sign straight above the oracle at the wall. (x7, y1)
(Notice, GUILD_TEMPLATE_GM_board - leave the _GM_board in place)
hallofjoining:
6:One of the switches, called "Load" and located on the left, in the hallofjoining. (x8, y11)
Or, if you prefer a text editor or want to double check your changes..
mainfloor map:
* Line 4637
* Line 9420
* Line 9525
guildhq map:
* Line 1177 (GUILD_TEMPLATE_GM_board - leave the _GM_board in place)
* Line 1224
hallofjoining map:
* Line 1857
IMPORTANT special cases:
GuildList:
* Either replace the GUILD_TEMPLATE text or add the new guild to the list
(This is a text file)
All Map Files:
In all the guild map files, update the Region setting (region Template), it's found at the fourth (4th) line in each file.
See the "regions" file found at ./share/maps/ for more information
Step 2:
Copy the scripts to ./share/maps/python/guilds
Step 3:
Choose where you want the guild and edit the world map, place a guildhall ot that location, and set the exit path to /path/to/guilds/<guildname>; edit the mainfloor map exit (x15, y29 - set to /Edit/This/Exit/Path in the template) back to the world map as well. Otherwise, players may not be able to enter the guild hall map or they may exit out to some other location in the game.
2 Bug reporting
2 Bug reporting:
Any problems installing and making it work or just general bugs you find, please email them to jehloq@yahoo.com, I will be more than willing to help figure out why it isn't working right and correct any bugs you find.
3 Credits
@ -29,7 +82,6 @@ Date: 11/19/2004
Guild work rooms created by: Rick Tanner
Editor: CrossfireEditor
Date: 3/19/2007
Map finised by: Alestan jehloq@yahoo.com
Map finished by: Alestan jehloq@yahoo.com
Date: 8/27/2007
#(Note 3: I tried to keep as much as possible the same as the origional maps, the scripts had some small issues and most of the things you can buy used imperials or simply had "x" listed. So i went through and replaced the "x"s with real things and swaped the imperials for amberium.)

View File

@ -1,12 +1,16 @@
arch map
name basement
difficulty 1
region Template
width 25
height 25
msg
Created: 2003-06-15
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: CF Java Map Editor
Date: 6/15/2003
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
unique 1
end
arch woodfloor
end

View File

@ -1,13 +1,16 @@
arch map
name bigchest
name Bigchest
difficulty 1
region Template
width 5
height 5
enter_x 2
enter_y 2
msg
Created: 2001-12-23
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: CF Java Map Editor
Date: 12/23/2001
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch woodfloor2

View File

@ -1,13 +1,16 @@
arch map
name Guild Alchemy Lab
difficulty 1
region Template
width 7
height 10
enter_x 3
enter_y 7
msg
Created: 2007-04-08
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: CF Java Map Editor
Date: 4/8/2007
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch woodfloor

View File

@ -1,13 +1,17 @@
arch map
name Guild Hall BBQ
difficulty 1
region Template
width 11
height 11
enter_x 5
enter_y 2
msg
Created: 2007-03-15 Rick Tanner
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: Rick Tanner
Editor: CrossfireEditor
Date: 3/15/2007
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
outdoor 1
end

View File

@ -1,13 +1,17 @@
arch map
name guildHQ
name Guild HeadQuarters
difficulty 1
region Template
width 25
height 25
enter_x 1
enter_y 1
msg
Created: 2003-06-14 Avion
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
CF Java Map Editor
Creator: Avion
Date: 6/14/2003
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch flagstone
@ -166,7 +170,7 @@ end
arch card
name Alchemy Token
name_pl Alchemy Tokens
slaying Alchemy_Token
slaying Alch_Token
msg
The holder of this card is allowed free
access into and out of the Alchemy Room.
@ -652,7 +656,7 @@ end
arch card
name Alchemy Token
name_pl Alchemy Tokens
slaying Alchemy_Token
slaying Alch_Token
msg
The holder of this card is allowed free
access into and out of the Alchemy Room.
@ -1107,7 +1111,7 @@ end
arch card
name Alchemy Token
name_pl Alchemy Tokens
slaying Alchemy_Token
slaying Alch_Token
msg
The holder of this card is allowed free
access into and out of the Alchemy Room.
@ -1135,7 +1139,7 @@ end
arch card
name Garden Token
name_pl Garden Tokens
slaying Garden_Token
slaying Gard_Token
msg
The holder of this card is allowed free
access into and out of the Garden.
@ -1210,7 +1214,11 @@ name Guild Oracle
name_pl Guild Oracle
x 7
y 7
material 256
resist_physical 100
resist_magic 100
resist_fire 100
resist_electricity 100
resist_cold 100
no_pick 1
arch event_say
name GUILD_TEMPLATE
@ -1634,7 +1642,7 @@ end
arch card
name Alchemy Token
name_pl Alchemy Tokens
slaying Alchemy_Token
slaying Alch_Token
msg
The holder of this card is allowed free
access into and out of the Alchemy Room.
@ -1658,7 +1666,7 @@ end
arch card
name Garden Token
name_pl Garden Tokens
slaying Garden_Token
slaying Gard_Token
msg
The holder of this card is allowed free
access into and out of the Garden.
@ -2165,7 +2173,7 @@ end
arch card
name Garden Token
name_pl Garden Tokens
slaying Garden_Token
slaying Gard_Token
msg
The holder of this card is allowed free
access into and out of the Garden.
@ -2485,7 +2493,7 @@ end
arch card
name Toolshed Token
name_pl Toolshed Tokens
slaying Toolshed_Token
slaying Tool_Token
msg
The holder of this card is allowed free
access into and out of the Tool Shed
@ -2942,7 +2950,7 @@ end
arch card
name Garden Token
name_pl Garden Tokens
slaying Garden_Token
slaying Gard_Token
msg
The holder of this card is allowed free
access into and out of the Garden.
@ -3215,7 +3223,7 @@ end
arch card
name Toolshed Token
name_pl Toolshed Tokens
slaying Toolshed_Token
slaying Tool_Token
msg
The holder of this card is allowed free
access into and out of the Tool Shed
@ -3629,7 +3637,7 @@ end
arch card
name Toolshed Token
name_pl Toolshed Tokens
slaying Toolshed_Token
slaying Tool_Token
msg
The holder of this card is allowed free
access into and out of the Tool Shed
@ -3847,7 +3855,7 @@ end
arch card
name Jeweler Token
name_pl Jeweler Tokens
slaying Jeweler_Token
slaying Jewe_Token
msg
The holder of this card is allowed free
access into and out of the Jeweler's Workshop.
@ -3879,7 +3887,7 @@ end
arch card
name Jeweler Token
name_pl Jeweler Tokens
slaying Jeweler_Token
slaying Jewe_Token
msg
The holder of this card is allowed free
access into and out of the Jeweler's Workshop.
@ -3915,7 +3923,7 @@ end
arch card
name Jeweler Token
name_pl Jeweler Tokens
slaying Jeweler_Token
slaying Jewe_Token
msg
The holder of this card is allowed free
access into and out of the Jeweler's Workshop.
@ -3960,7 +3968,7 @@ end
arch card
name Jeweler Token
name_pl Jeweler Tokens
slaying Jeweler_Token
slaying Jewe_Token
msg
The holder of this card is allowed free
access into and out of the Jeweler's Workshop.
@ -4009,7 +4017,7 @@ end
arch card
name Toolshed Token
name_pl Toolshed Tokens
slaying Toolshed_Token
slaying Tool_Token
msg
The holder of this card is allowed free
access into and out of the Tool Shed
@ -4214,7 +4222,7 @@ end
arch card
name Glowing Crystal Token
name_pl Glowing Crystal Tokens
slaying GCrystal_Token
slaying GC_Token
msg
The holder of this card is allowed free
access into and out of the Crystal Room
@ -4246,7 +4254,7 @@ end
arch card
name Glowing Crystal Token
name_pl Glowing Crystal Tokens
slaying GCrystal_Token
slaying GC_Token
msg
The holder of this card is allowed free
access into and out of the Crystal Room
@ -4282,7 +4290,7 @@ end
arch card
name Glowing Crystal Token
name_pl Glowing Crystal Tokens
slaying GCrystal_Token
slaying GC_Token
msg
The holder of this card is allowed free
access into and out of the Crystal Room
@ -4327,7 +4335,7 @@ end
arch card
name Glowing Crystal Token
name_pl Glowing Crystal Tokens
slaying GCrystal_Token
slaying GC_Token
msg
The holder of this card is allowed free
access into and out of the Crystal Room

View File

@ -1,13 +1,17 @@
arch map
name Guild Jeweler
difficulty 1
region Template
width 7
height 10
enter_x 3
enter_y 4
msg
Created: 2007-03-19 Rick Tanner
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: Rick Tanner
Editor: CrossfireEditor
Date: 3/19/2007
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch woodfloor
@ -118,11 +122,6 @@ resist_cold 100
resist_acid 100
no_pick 1
end
arch amethyst
x 1
y 5
no_pick 1
end
arch woodfloor
x 1
y 6
@ -144,11 +143,6 @@ resist_acid 100
resist_drain 100
no_pick 1
end
arch gem
x 1
y 6
no_pick 1
end
arch woodfloor
x 1
y 7
@ -189,17 +183,10 @@ end
arch woodfloor
x 2
end
arch dwall_0
x 2
end
arch woodfloor
x 2
y 1
end
arch dwall_0
x 2
y 1
end
arch woodfloor
x 2
y 2
@ -267,9 +254,6 @@ end
arch woodfloor
x 3
end
arch grate_closed_1
x 3
end
arch woodfloor
x 3
y 1
@ -353,17 +337,10 @@ end
arch woodfloor
x 4
end
arch dwall_0
x 4
end
arch woodfloor
x 4
y 1
end
arch dwall_0
x 4
y 1
end
arch woodfloor
x 4
y 2
@ -454,11 +431,6 @@ resist_holyword 100
resist_blind 100
no_pick 1
end
arch ruby
x 4
y 8
no_pick 1
end
arch woodfloor
x 4
y 9
@ -516,11 +488,6 @@ resist_acid 100
resist_chaos 100
no_pick 1
end
arch smallnugget
x 5
y 5
no_pick 1
end
arch woodfloor
x 5
y 6
@ -549,11 +516,6 @@ resist_drain 100
resist_chaos 100
no_pick 1
end
arch sapphire
x 5
y 7
no_pick 1
end
arch woodfloor
x 5
y 8

View File

@ -1,13 +1,17 @@
arch map
name Guild Thaumaturgy Lab
difficulty 1
region Template
width 14
height 7
enter_x 6
enter_y 3
msg
Created: 2007-03-19 Rick Tanner
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: Rick Tanner
Editor: CrossfireEditor
Date: 3/19/2007
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch woodfloor
@ -557,10 +561,6 @@ arch woodfloor
x 9
y 2
end
arch dwall_0
x 9
y 2
end
arch woodfloor
x 9
y 3
@ -569,10 +569,6 @@ arch woodfloor
x 9
y 4
end
arch dwall_0
x 9
y 4
end
arch woodfloor
x 9
y 5
@ -596,26 +592,14 @@ arch woodfloor
x 10
y 2
end
arch dwall_0
x 10
y 2
end
arch woodfloor
x 10
y 3
end
arch grate_closed_2
x 10
y 3
end
arch woodfloor
x 10
y 4
end
arch dwall_0
x 10
y 4
end
arch woodfloor
x 10
y 5

View File

@ -1,13 +1,17 @@
arch map
name Guild Tool Shed
difficulty 1
region Template
width 28
height 16
enter_x 14
enter_y 4
msg
Created: 2007-03-17 Rick Tanner
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: Rick Tanner
Editor: CrossfireEditor
Date: 3/17/2007
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
unique 1
end
@ -237,8 +241,11 @@ other_arch flagstone
x 2
y 7
connected 76
arch flagstone
unique 1
end
arch goldflagstone
end
arch goldfloor
name drop 30,000 rubies for a forge
slaying ruby
food 30000
@ -1014,10 +1021,14 @@ y 7
connected 8004
lifesave 1
activate_on_push 0
arch forge
magic 4
end
end
arch forge
x 9
y 7
magic 4
end
arch flagstone
x 9
@ -1275,10 +1286,14 @@ y 7
connected 8005
lifesave 1
activate_on_push 0
arch workbench
magic 4
end
end
arch workbench
x 11
y 7
magic 4
end
arch flagstone
x 11
@ -2018,8 +2033,11 @@ other_arch flagstone
x 18
y 7
connected 76
arch flagstone
unique 1
end
arch goldflagstone
end
arch goldfloor
name drop 30,000 rubies for a workbench
slaying ruby
food 30000
@ -2688,8 +2706,9 @@ arch blocked
x 26
y 15
end
arch blocked
arch flagstone
x 27
unique 1
end
arch teleporter
hp 18
@ -2705,6 +2724,12 @@ food 100
x 27
last_sp 1
connected 121
unique 1
end
arch flagstone
x 27
y 1
unique 1
end
arch creator
other_arch jadecoin
@ -2721,9 +2746,10 @@ y 1
speed 0.0
connected 999
end
arch blocked
arch flagstone
x 27
y 2
unique 1
end
arch teleporter
hp 2
@ -2741,6 +2767,12 @@ x 27
y 2
last_sp 1
connected 131
unique 1
end
arch flagstone
x 27
y 3
unique 1
end
arch creator
other_arch jadecoin

View File

@ -1,14 +1,18 @@
arch map
name The Grand Hall
difficulty 1
region Template
darkness 1
width 22
height 26
enter_x 15
enter_y 2
msg
Created: 2003-06-14 Avion
Modified: 2007-08-27 Alestan (jehloq@yahoo.com)
Creator: Avion
CF Java Map Editor
Date: 6/14/2003
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch flagstone
@ -2099,6 +2103,17 @@ end
arch flagstone
x 9
y 11
unique 1
end
arch button_handle
name GuildMaster
msg
Throw this to make the person in the chair a guild master.
endmsg
x 9
y 11
connected 111
activate_on_release 0
end
arch flagstone
x 9
@ -2152,6 +2167,16 @@ arch marble
x 9
y 16
end
arch trigger_marker
slaying GuildMaster
msg
You have one day's use of these facilities.
endmsg
food 504
x 9
y 16
connected 111
end
arch chair_3.2
name Seat of Peril
x 9
@ -2882,10 +2907,6 @@ arch flagstone
x 12
y 13
end
arch dungeon_magic
x 12
y 13
end
arch stair_up_2
slaying mainfloor
hp 11
@ -2893,6 +2914,10 @@ sp 26
x 12
y 13
end
arch dungeon_magic
x 12
y 13
end
arch flagstone
x 12
y 14

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,10 @@ height 20
enter_x 12
enter_y 11
msg
Created: 2004-11-19 majorwoo (josh@woosworld.net)
Modified: 2007-11-04 Andreas Kirschbaum
Creator: majorwoo josh@woosworld.net
Date: 11/19/2004
Map finised by: Alestan jehloq@yahoo.com
Date: 8/27/2007
endmsg
end
arch dungeon_magic
@ -217,72 +219,70 @@ end
arch dwall_2_1_2
x 1
end
arch dungeon_magic
x 1
y 1
end
arch woodfloor
x 1
y 1
unique 1
end
arch dungeon_magic
x 1
y 1
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
dam 121
x 1
y 1
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch dungeon_magic
x 1
y 2
end
arch woodfloor
x 1
y 2
unique 1
end
arch dungeon_magic
x 1
y 2
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 3
dam 121
x 1
y 2
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch dungeon_magic
x 1
y 3
end
arch woodfloor
x 1
y 3
unique 1
end
arch dungeon_magic
x 1
y 3
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 2
dam 121
x 1
y 3
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch woodfloor
x 1
@ -342,6 +342,10 @@ x 1
y 9
unique 1
end
arch dungeon_magic
x 1
y 10
end
arch woodfloor
x 1
y 10
@ -349,23 +353,43 @@ unique 1
end
arch dungeon_magic
x 1
y 10
y 11
end
arch woodfloor
x 1
y 11
unique 1
end
arch dungeon_magic
x 1
y 11
end
arch creator
other_arch woodfloor
x 1
y 11
connected 10
end
arch woodfloor
x 1
y 11
unique 1
end
arch goldfloor
name drop 15 diamonds of exceptional beauty for Jewelers room
slaying diamond of exceptional beauty
food 15
x 1
y 10
y 11
connected 10
end
arch dungeon_magic
x 1
y 11
y 12
end
arch woodfloor
x 1
y 11
y 12
unique 1
end
arch trigger_marker
@ -375,24 +399,11 @@ You have one day's use of these facilities.
endmsg
food 504
x 1
y 11
y 12
connected 11
end
arch dungeon_magic
x 1
y 12
end
arch woodfloor
x 1
y 12
unique 1
end
arch cwall_0
x 1
y 12
end
arch dungeon_magic
x 1
y 13
end
arch woodfloor
@ -476,32 +487,27 @@ end
arch dwall_2_1_2
x 2
end
arch dungeon_magic
x 2
y 1
end
arch woodfloor
x 2
y 1
unique 1
end
arch dungeon_magic
x 2
y 1
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 5
dam 121
x 2
y 1
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch dungeon_magic
x 2
y 2
end
arch magic_mouth
msg
@ -515,6 +521,10 @@ x 2
y 2
unique 1
end
arch dungeon_magic
x 2
y 2
end
arch button_lever
name Vibrantly Flashing Crystal
face power_crystal.111
@ -523,28 +533,27 @@ x 2
y 2
connected 2
end
arch dungeon_magic
x 2
y 3
end
arch woodfloor
x 2
y 3
unique 1
end
arch dungeon_magic
x 2
y 3
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 1
dam 121
x 2
y 3
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch woodfloor
x 2
@ -622,12 +631,6 @@ x 2
y 11
unique 1
end
arch check_floor
slaying Jewe_Token
x 2
y 11
connected 898
end
arch dungeon_magic
x 2
y 12
@ -638,29 +641,29 @@ y 12
unique 1
end
arch check_floor
slaying Jewe_Token
x 2
y 12
connected 898
end
arch dungeon_magic
x 2
y 13
end
arch woodfloor
x 2
y 13
unique 1
end
arch check_floor
race Jewelry Pass
x 2
y 12
y 13
connected 898
end
arch grate_closed_1
x 2
y 12
connected 898
end
arch dungeon_magic
x 2
y 13
end
arch woodfloor
x 2
y 13
unique 1
end
arch pedestal
x 2
y 13
invisible 1
connected 898
end
arch dungeon_magic
@ -751,73 +754,71 @@ end
arch dwall_2_1_2
x 3
end
arch dungeon_magic
x 3
y 1
end
arch woodfloor
x 3
y 1
unique 1
end
arch dungeon_magic
x 3
y 1
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 6
dam 121
x 3
y 1
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch dungeon_magic
x 3
y 2
end
arch woodfloor
x 3
y 2
unique 1
end
arch dungeon_magic
x 3
y 2
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 7
dam 121
x 3
y 2
speed 0.0
speed 0
level 107
invisible 1
connected 2
no_pass 0
blocksview 0
arch spell_transference
end
end
arch dungeon_magic
x 3
y 3
end
arch woodfloor
x 3
y 3
unique 1
end
arch dungeon_magic
x 3
y 3
end
arch lbulletwall_4
name Vibrantly Glowing Crystal
sp 8
dam 121
x 3
y 3
speed 0
level 107
invisible 1
connected 2
move_block 0
no_pass 0
blocksview 0
arch spell_transference
end
end
arch woodfloor
x 3
@ -904,10 +905,6 @@ x 3
y 12
unique 1
end
arch cwall_0
x 3
y 12
end
arch dungeon_magic
x 3
y 13
@ -1409,7 +1406,7 @@ end
arch pedestal
x 6
y 2
connected 42
connected 746
end
arch woodfloor
x 6
@ -2380,10 +2377,16 @@ arch dungeon_magic
x 10
y 7
end
arch woodfloor
arch creator
x 10
y 7
unique 1
end
arch goldfloor
slaying Glowing Crystal Token
food 1
x 10
y 7
connected 80
end
arch dungeon_magic
x 10
@ -2474,6 +2477,15 @@ x 10
y 16
unique 1
end
arch dungeon_magic
x 10
y 16
end
arch woodfloor
x 10
y 16
unique 1
end
arch cwall_0
x 10
y 16
@ -2487,10 +2499,9 @@ x 10
y 17
unique 1
end
arch pedestal
arch igate_closed_2
x 10
y 17
invisible 1
connected 899
end
arch dungeon_magic
@ -2502,6 +2513,15 @@ x 10
y 18
unique 1
end
arch dungeon_magic
x 10
y 18
end
arch woodfloor
x 10
y 18
unique 1
end
arch cwall_0
x 10
y 18
@ -2529,14 +2549,20 @@ end
arch dwall_2_1_2
x 11
end
arch dungeon_magic
x 11
y 1
end
arch woodfloor
x 11
y 1
unique 1
end
arch dungeon_magic
arch creator
other_arch woodfloor
x 11
y 1
connected 40
end
arch goldfloor
name drop 100 jade coins for Glowing Crystal Room
@ -2694,19 +2720,6 @@ unique 1
end
arch dungeon_magic
x 11
y 16
end
arch woodfloor
x 11
y 16
unique 1
end
arch cwall_0
x 11
y 16
end
arch dungeon_magic
x 11
y 17
end
arch woodfloor
@ -2714,7 +2727,8 @@ x 11
y 17
unique 1
end
arch igate_closed_2
arch check_floor
slaying Thau_Token
x 11
y 17
connected 899
@ -2737,9 +2751,15 @@ x 11
y 18
unique 1
end
arch cwall_0
arch trigger_marker
slaying guild_thaum21
msg
You have one day's use of these facilities.
endmsg
food 504
x 11
y 18
connected 21
end
arch dungeon_magic
x 11
@ -2886,7 +2906,7 @@ end
arch stair_3_down
slaying mainfloor
hp 16
sp 14
sp 15
x 12
y 11
end
@ -2944,11 +2964,9 @@ x 12
y 17
unique 1
end
arch check_floor
slaying Thau_Token
arch dungeon_magic
x 12
y 17
connected 899
y 18
end
arch woodfloor
x 12
@ -2959,15 +2977,24 @@ arch dungeon_magic
x 12
y 18
end
arch trigger_marker
slaying guild_thaum21
msg
You have one day's use of these facilities.
endmsg
food 504
arch woodfloor
x 12
y 18
connected 21
unique 1
end
arch creator
other_arch woodfloor
x 12
y 18
connected 20
end
arch goldfloor
name drop 30,000 rubies for Thaumaturgy room
slaying ruby
food 30000
x 12
y 18
connected 20
end
arch woodfloor
x 12
@ -3055,14 +3082,20 @@ arch cwall_0
x 13
y 6
end
arch dungeon_magic
x 13
y 7
end
arch woodfloor
x 13
y 7
unique 1
end
arch dungeon_magic
arch creator
other_arch woodfloor
x 13
y 7
connected 30
end
arch goldfloor
name drop 30,000 diamonds for Alchemy room
@ -3170,22 +3203,14 @@ x 13
y 17
unique 1
end
arch woodfloor
x 13
y 18
unique 1
end
arch dungeon_magic
x 13
y 18
end
arch goldfloor
name drop 30,000 rubies for Thaumaturgy room
slaying ruby
food 30000
arch woodfloor
x 13
y 18
connected 20
unique 1
end
arch woodfloor
x 13
@ -3511,15 +3536,15 @@ arch cwall_0
x 15
y 6
end
arch dungeon_magic
x 15
y 7
end
arch woodfloor
x 15
y 7
unique 1
end
arch dungeon_magic
x 15
y 7
end
arch trigger_marker
slaying guild_alchemy31
msg
@ -3552,14 +3577,20 @@ x 15
y 9
unique 1
end
arch dungeon_magic
x 15
y 10
end
arch woodfloor
x 15
y 10
unique 1
end
arch dungeon_magic
arch creator
other_arch woodfloor
x 15
y 10
connected 7
end
arch goldfloor
name drop 20 amulets of Lifesaving for a portal to the Mazes of Menace
@ -3663,10 +3694,10 @@ x 15
y 18
unique 1
end
arch check_floor
slaying GuildMaster
arch pedestal
x 15
y 18
invisible 1
connected 918
end
arch button_lever
@ -4109,27 +4140,6 @@ y 6
end
arch woodfloor
x 18
y 7
unique 1
end
arch teleporter
hp 15
sp 9
x 18
y 7
speed 0
connected 7
end
arch perm_magic_portal
name The Mazes of Menace
slaying /quests/peterm/Nethack_in_crossfire_entrance
hp 0
sp 0
x 18
y 7
end
arch woodfloor
x 18
y 8
unique 1
end
@ -4153,6 +4163,8 @@ hp 0
sp 0
x 18
y 9
walk_on 0
fly_on 0
end
arch blocked
x 18
@ -4169,7 +4181,7 @@ end
arch altar_trigger
name Drop 100 platinum to enter Jewelers Room
slaying platinacoin
food 100
food 200
x 18
y 11
connected 11
@ -4284,7 +4296,7 @@ x 19
y 10
end
arch teleporter
hp 11
hp 10
sp 19
x 19
y 11