Update of /cvsroot/wpdev/xmlscripts/scripts/skills
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31752/skills
Modified Files:
blacksmithing.py carpentry.py
Log Message:
translation
Index: carpentry.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/carpentry.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** carpentry.py 20 Sep 2004 18:11:32 -0000 1.19
--- carpentry.py 12 Oct 2004 11:02:31 -0000 1.20
***************
*** 7,11 ****
from wolfpack.utilities import hex2dec, tobackpack, createlockandkey
import random
! from skills.blacksmithing import METALS
#
--- 7,11 ----
from wolfpack.utilities import hex2dec, tobackpack, createlockandkey
import random
! import skills.blacksmithing
#
***************
*** 167,171 ****
self.allowmark = 1
#self.allowrepair = 1
! self.submaterials1 = METALS
self.submaterial1missing = 1042081 # Ingots
self.submaterial1noskill = 500586
--- 167,171 ----
self.allowmark = 1
#self.allowrepair = 1
! self.submaterials1 = skills.blacksmithing.METALS
self.submaterial1missing = 1042081 # Ingots
self.submaterial1noskill = 500586
Index: blacksmithing.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/blacksmithing.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** blacksmithing.py 12 Oct 2004 10:40:01 -0000 1.23
--- blacksmithing.py 12 Oct 2004 11:02:31 -0000 1.24
***************
*** 19,31 ****
# The last value is the resname to use for newly crafted items
METALS = [
! ['Iron', BLACKSMITHING, 0, ['iron_ingot'], 0x0, 'iron'],
! ['Dull Copper', BLACKSMITHING, 650, ['dullcopper_ingot'], 0x973, 'dullcopper'],
! ['Shadow Iron', BLACKSMITHING, 700, ['shadowiron_ingot'], 0x966, 'shadowiron'],
! ['Copper', BLACKSMITHING, 750, ['copper_ingot'], 0x96d, 'copper'],
! ['Bronze', BLACKSMITHING, 800, ['bronze_ingot'], 0x972, 'bronze'],
! ['Gold', BLACKSMITHING, 850, ['gold_ingot'], 0x8a5, 'gold'],
! ['Agapite', BLACKSMITHING, 900, ['agapite_ingot'], 0x979, 'agapite'],
! ['Verite', BLACKSMITHING, 950, ['verite_ingot'], 0x89f, 'verite'],
! ['Valorite', BLACKSMITHING, 990, ['valorite_ingot'], 0x8ab, 'valorite'],
]
--- 19,31 ----
# The last value is the resname to use for newly crafted items
METALS = [
! ['Iron', BLACKSMITHING, 0, ['iron_ingot'], 0x0, 'iron'],
! ['Dull Copper', BLACKSMITHING, 650, ['dullcopper_ingot'], 0x973, 'dullcopper'],
! ['Shadow Iron', BLACKSMITHING, 700, ['shadowiron_ingot'], 0x966, 'shadowiron'],
! ['Copper', BLACKSMITHING, 750, ['copper_ingot'], 0x96d, 'copper'],
! ['Bronze', BLACKSMITHING, 800, ['bronze_ingot'], 0x972, 'bronze'],
! ['Gold', BLACKSMITHING, 850, ['gold_ingot'], 0x8a5, 'gold'],
! ['Agapite', BLACKSMITHING, 900, ['agapite_ingot'], 0x979, 'agapite'],
! ['Verite', BLACKSMITHING, 950, ['verite_ingot'], 0x89f, 'verite'],
! ['Valorite', BLACKSMITHING, 990, ['valorite_ingot'], 0x8ab, 'valorite'],
]
***************
*** 250,257 ****
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
! self.allowmark = 1
! self.allowrepair = 1
! #self.allowenhance = 1
! self.allowsmelt = 1
self.submaterials1 = METALS
self.submaterials2 = SCALES
--- 250,257 ----
def __init__(self, id, parent, title):
MakeMenu.__init__(self, id, parent, title)
! self.allowmark = True
! self.allowrepair = True
! self.allowenhance = True
! self.allowsmelt = True
self.submaterials1 = METALS
self.submaterials2 = SCALES
|