Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Artifacts  (Read 13952 times)

0 Members and 1 Guest are viewing this topic.

Joe

« on: 24, August 2014, 21:54:30 »
I have a few questions on the pants/legs artifacts.  For every type of  elemental, poison, and acid;  it has listed legs_leather as the def_arch. 
Code: [Select]
Allowed !pants
chance 80
artifact legs_mass
def_arch legs_leather
editor 2:items/armour/legs
Object
title of mass
type 143
is_magical 1
value 5
cursed_perm 1
cursed 1
weight 25000
end
#
Allowed all
chance 40
t_style 1
difficulty 2
artifact legs_min_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor fire protection
item_level_art 2
type 143
resist_fire 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 2
difficulty 2
artifact legs_min_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor cold protection
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 3
difficulty 2
artifact legs_min_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor electricity protection
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 4
difficulty 2
artifact legs_min_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor poison protection
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 5
difficulty 2
artifact legs_min_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor acid protection
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
t_style 1
difficulty 7
artifact legs_less_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser fire protection
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
t_style 2
difficulty 7
artifact legs_less_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser cold protection
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 3
difficulty 7
artifact legs_less_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser electricity protection
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 4
difficulty 7
artifact legs_less_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser poison protection
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 5
difficulty 7
artifact legs_less_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser acid protection
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
t_style 1
difficulty 15
artifact legs_sm_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small fire protection
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 2
difficulty 15
artifact legs_sm_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small cold protection
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 3
difficulty 15
artifact legs_sm_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small electricity protection
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 4
difficulty 15
artifact legs_sm_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small poison protection
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 5
difficulty 15
artifact legs_sm_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small acid protection
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
t_style 1
difficulty 25
artifact legs_med_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium fire protection
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 2
difficulty 25
artifact legs_med_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium cold protection
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 3
difficulty 25
artifact legs_med_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium electricity protection
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 4
difficulty 25
artifact legs_med_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium poison protection
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 5
difficulty 25
artifact legs_med_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium acid protection
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
I couldn't find any of the chain, plate. in the artifacts so I wondered how I would go about changing this if I wanted to add new graphics for each of the pants.  Something like this?
Code: [Select]
# LEGS
#
#
Allowed !pants
chance 80
artifact legs_mass
def_arch legs_leather
editor 2:items/armour/legs
Object
title of mass
type 143
is_magical 1
value 5
cursed_perm 1
cursed 1
weight 25000
end
#
Allowed all
chance 40
t_style 1
difficulty 2
artifact legs_min_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor fire protection
item_level_art 2
type 143
resist_fire 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 2
difficulty 2
artifact legs_min_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor cold protection
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 3
difficulty 2
artifact legs_min_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor electricity protection
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 4
difficulty 2
artifact legs_min_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor poison protection
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 5
difficulty 2
artifact legs_min_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of minor acid protection
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
t_style 1
difficulty 7
artifact legs_less_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser fire protection
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
t_style 2
difficulty 7
artifact legs_less_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser cold protection
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 3
difficulty 7
artifact legs_less_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser electricity protection
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 4
difficulty 7
artifact legs_less_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser poison protection
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 5
difficulty 7
artifact legs_less_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of lesser acid protection
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
t_style 1
difficulty 15
artifact legs_sm_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small fire protection
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 2
difficulty 15
artifact legs_sm_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small cold protection
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 3
difficulty 15
artifact legs_sm_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small electricity protection
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 4
difficulty 15
artifact legs_sm_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small poison protection
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 5
difficulty 15
artifact legs_sm_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of small acid protection
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
t_style 1
difficulty 25
artifact legs_med_fire
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium fire protection
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 2
difficulty 25
artifact legs_med_cold
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium cold protection
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 3
difficulty 25
artifact legs_med_elec
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium electricity protection
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 4
difficulty 25
artifact legs_med_poison
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium poison protection
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 5
difficulty 25
artifact legs_med_acid
def_arch legs_leather
editor 2:items/armour/legs
Object
title of medium acid protection
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#
Allowed all
chance 40
t_style 2
difficulty 2
artifact legs_min_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of minor cold protection
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 3
difficulty 2
artifact legs_min_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 4
difficulty 2
artifact legs_min_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of minor poison protection
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 5
difficulty 2
artifact legs_min_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of minor acid protection
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
t_style 1
difficulty 7
artifact legs_less_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
t_style 2
difficulty 7
artifact legs_less_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 3
difficulty 7
artifact legs_less_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 4
difficulty 7
artifact legs_less_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 5
difficulty 7
artifact legs_less_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
t_style 1
difficulty 15
artifact legs_sm_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of small fire protection
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 2
difficulty 15
artifact legs_sm_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of small cold protection
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 3
difficulty 15
artifact legs_sm_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of small electricity protection
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 4
difficulty 15
artifact legs_sm_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of small poison protection
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 5
difficulty 15
artifact legs_sm_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of small acid protection
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
t_style 1
difficulty 25
artifact legs_med_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of medium fire protection
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 2
difficulty 25
artifact legs_med_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of medium cold protection
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 3
difficulty 25
artifact legs_med_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 4
difficulty 25
artifact legs_med_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of medium poison protection
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 5
difficulty 25
artifact legs_med_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of medium acid protection
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#
Allowed all
chance 40
t_style 2
difficulty 2
artifact legs_min_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of minor cold protection
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 3
difficulty 2
artifact legs_min_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 4
difficulty 2
artifact legs_min_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of minor poison protection
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 5
difficulty 2
artifact legs_min_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of minor acid protection
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
t_style 1
difficulty 7
artifact legs_less_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
t_style 2
difficulty 7
artifact legs_less_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 3
difficulty 7
artifact legs_less_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 4
difficulty 7
artifact legs_less_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 5
difficulty 7
artifact legs_less_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
t_style 1
difficulty 15
artifact legs_sm_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of small fire protection
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 2
difficulty 15
artifact legs_sm_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of small cold protection
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 3
difficulty 15
artifact legs_sm_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of small electricity protection
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 4
difficulty 15
artifact legs_sm_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of small poison protection
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 5
difficulty 15
artifact legs_sm_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of small acid protection
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
t_style 1
difficulty 25
artifact legs_med_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of medium fire protection
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 2
difficulty 25
artifact legs_med_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of medium cold protection
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 3
difficulty 25
artifact legs_med_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 4
difficulty 25
artifact legs_med_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of medium poison protection
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 5
difficulty 25
artifact legs_med_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of medium acid protection
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#
#
Allowed all
chance 40
t_style 2
difficulty 2
artifact legs_min_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of minor cold protection
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 3
difficulty 2
artifact legs_min_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 4
difficulty 2
artifact legs_min_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of minor poison protection
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
t_style 5
difficulty 2
artifact legs_min_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of minor acid protection
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
t_style 1
difficulty 7
artifact legs_less_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
t_style 2
difficulty 7
artifact legs_less_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 3
difficulty 7
artifact legs_less_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 4
difficulty 7
artifact legs_less_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
t_style 5
difficulty 7
artifact legs_less_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
t_style 1
difficulty 15
artifact legs_sm_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of small fire protection
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 2
difficulty 15
artifact legs_sm_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of small cold protection
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 3
difficulty 15
artifact legs_sm_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of small electricity protection
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 4
difficulty 15
artifact legs_sm_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of small poison protection
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
t_style 5
difficulty 15
artifact legs_sm_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of small acid protection
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
t_style 1
difficulty 25
artifact legs_med_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of medium fire protection
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 2
difficulty 25
artifact legs_med_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of medium cold protection
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 3
difficulty 25
artifact legs_med_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 4
difficulty 25
artifact legs_med_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of medium poison protection
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
t_style 5
difficulty 25
artifact legs_med_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of medium acid protection
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
Also I'm wondering what the exclamation means on Allowed !pants, and what is t_style 1, and t_style 2 etc.? 
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #1 on: 25, August 2014, 00:34:17 »
Can't think of the A to your first Q right now, but the ! means not (so 'Allowed !pants' means anything but pants).

t_style is a way to group artifacts for treasure lists:

Quote
# The t_style setting
# --------------------
#
# A t_style is a kind of sub class identifier for the artifacts.
# It is used to part the single artifact masks (is has no real use for
# unique artifacts) of a Allowed xxx group in sub groups.
#
# There is a t_style variable also in the treasure file for each treasure or
# treasure list which calls this artifacts file after generation a base item.
# Both t_style are compared:
#
# t_style is "unset" = don't compare
# t_style == 0  : generate only artifacts with t_style unset or 0
# t_style <= -1 : Only style ABS(t_style) or unset or 0
# t_style >= 1  : Only items matching that style
#
# Use:
# A fire giant should be drop fire releated items and artifacts. For example
# only red gems, fire releated potions and magic items or fire based weapons
# or armour. So, all fire releated artifacts are signed as t_style = 1
# (thats the artifacts file default setting for fire releated items).
# Now the treasures of the fire giant are signed to "t_style 1" too.
# If he drops a artifact then it will be a fire releated.
#
# t_style defaults (use this default settings for your treasures and artifacts)
#
# t_style = 1   -> fire
# t_style = 2   -> cold
# t_style = 3   -> electricity
# t_style = 4   -> poison
# t_style = 5   -> acid

_people_

« Reply #2 on: 25, August 2014, 02:05:51 »
Yeah, the "Allowed" attribute specifies what items can have that artifact attached to them.

Allowed !pants means that any legs whose arch isn't "pants" can have that artifact attached. So to split all the legwear up into different artifacts, you'd copy that artifact definition and change "!pants" to every arch you want to have the special stats.
-- _people_ :)

Joe

« Reply #3 on: 25, August 2014, 21:14:01 »
Ok, but I keep getting this error when I try to commit them (ERROR: add_artifact_hash(): double use of artifact name legs_med_acid)

Adding this to the artifact list:
Code: [Select]
#
Allowed all
chance 40
difficulty 2
artifact legs_min_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of minor fire protection
face legs_chain_fire.101
item_level_art 2
type 143
resist_fire 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of minor cold protection
face legs_chain_ice.101
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
face legs_chain_elec.101
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of minor poison protection
face legs_chain_poison.101
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of minor acid protection
face legs_chain_acid.101
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
face legs_chain_fire.101
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
face legs_chain_ice.101
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
face legs_chain_elec.101
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
face legs_chain_poison.101
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
face legs_chain_acid.101
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of small fire protection
face legs_chain_fire.101
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of small cold protection
face legs_chain_ice.101
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of small electricity protection
face legs_chain_elec.101
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of small poison protection
face legs_chain_poison.101
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of small acid protection
face legs_chain_acid.101
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_fire
def_arch legs_chain_fire
editor 2:items/armour/legs
Object
title of medium fire protection
face legs_chain_fire.101
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_cold
def_arch legs_chain_ice
editor 2:items/armour/legs
Object
title of medium cold protection
face legs_chain_ice.101
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_elec
def_arch legs_chain_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
face legs_chain_elec.101
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_poison
def_arch legs_chain_poison
editor 2:items/armour/legs
Object
title of medium poison protection
face legs_chain_poison.101
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_acid
def_arch legs_chain_acid
editor 2:items/armour/legs
Object
title of medium acid protection
face legs_chain_acid.101
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of minor fire protection
face legs_plate_fire.101
item_level_art 2
type 143
resist_fire 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of minor cold protection
face legs_plate_ice.101
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
face legs_plate_elec.101
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of minor poison protection
face legs_plate_poison.101
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of minor acid protection
face legs_plate_acid.101
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
face legs_plate_fire.101
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
face legs_plate_ice.101
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
face legs_plate_elec.101
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
face legs_plate_poison.101
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
face legs_plate_acid.101
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of small fire protection
face legs_plate_fire.101
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of small cold protection
face legs_plate_ice.101
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of small electricity protection
face legs_plate_elec.101
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of small poison protection
face legs_plate_poison.101
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of small acid protection
face legs_plate_acid.101
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_fire
def_arch legs_plate_fire
editor 2:items/armour/legs
Object
title of medium fire protection
face legs_plate_fire.101
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_cold
def_arch legs_plate_ice
editor 2:items/armour/legs
Object
title of medium cold protection
face legs_plate_ice.101
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_elec
def_arch legs_plate_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
face legs_plate_elec.101
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_poison
def_arch legs_plate_poison
editor 2:items/armour/legs
Object
title of medium poison protection
face legs_plate_poison.101
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_acid
def_arch legs_plate_acid
editor 2:items/armour/legs
Object
title of medium acid protection
face legs_plate_acid.101
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of minor fire protection
face pants_fire.101
item_level_art 2
type 143
resist_fire 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of minor cold protection
face pants_ice.101
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
face pants_elec.101
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of minor poison protection
face pants_poison.101
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of minor acid protection
face pants_acid.101
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
face pants_fire.101
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
face pants_ice.101
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
face pants_elec.101
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
face pants_poison.101
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
face pants_acid.101
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of small fire protection
face pants_fire.101
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of small cold protection
face pants_ice.101
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of small electricity protection
face pants_elec.101
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of small poison protection
face pants_poison.101
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of small acid protection
face pants_acid.101
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_fire
def_arch pants_fire
editor 2:items/armour/legs
Object
title of medium fire protection
face pants_fire.101
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_cold
def_arch pants_ice
editor 2:items/armour/legs
Object
title of medium cold protection
face pants_ice.101
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_elec
def_arch pants_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
face pants_elec.101
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_poison
def_arch pants_poison
editor 2:items/armour/legs
Object
title of medium poison protection
face pants_poison.101
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_acid
def_arch pants_acid
editor 2:items/armour/legs
Object
title of medium acid protection
face pants_acid.101
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_fire
def_arch legs_leather_fire
editor 2:items/armour/legs
Object
title of minor fire protection
face legs_leather_fire.101
item_level_art 2
type 143
resist_fire 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_cold
def_arch legs_leather_ice
editor 2:items/armour/legs
Object
title of minor cold protection
face legs_leather_ice.101
item_level_art 2
type 143
resist_cold 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_elec
def_arch legs_leather_elec
editor 2:items/armour/legs
Object
title of minor electricity protection
face legs_leather_elec.101
item_level_art 2
type 143
resist_electricity 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_poison
def_arch legs_leather_poison
editor 2:items/armour/legs
Object
title of minor poison protection
face legs_leather_poison.101
item_level_art 2
type 143
resist_poison 5
is_magical 1
value 3500
end
#
Allowed all
chance 40
difficulty 2
artifact legs_min_acid
def_arch legs_leather_acid
editor 2:items/armour/legs
Object
title of minor acid protection
face legs_leather_acid.101
item_level_art 2
type 143
resist_acid 5
is_magical 1
value 3500
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_fire
def_arch legs_leather_fire
editor 2:items/armour/legs
Object
title of lesser fire protection
face legs_leather_fire.101
item_level_art 7
type 143
resist_fire 10
is_magical 1
value 3750
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_cold
def_arch legs_leather_ice
editor 2:items/armour/legs
Object
title of lesser cold protection
face legs_leather_ice.101
item_level_art 7
type 143
resist_cold 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_elec
def_arch legs_leather_elec
editor 2:items/armour/legs
Object
title of lesser electricity protection
face legs_leather_elec.101
item_level_art 7
type 143
resist_electricity 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_poison
def_arch legs_leather_poison
editor 2:items/armour/legs
Object
title of lesser poison protection
face legs_leather_poison.101
item_level_art 7
type 143
resist_poison 10
is_magical 1
value 3850
end
#
Allowed all
chance 20
difficulty 7
artifact legs_less_acid
def_arch legs_leather_acid
editor 2:items/armour/legs
Object
title of lesser acid protection
face legs_leather_acid.101
item_level_art 7
type 143
resist_acid 10
is_magical 1
value 3850
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_fire
def_arch legs_leather_fire
editor 2:items/armour/legs
Object
title of small fire protection
face legs_leather_fire.101
item_level_art 15
type 143
resist_fire 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_cold
def_arch legs_leather_ice
editor 2:items/armour/legs
Object
title of small cold protection
face legs_leather_ice.101
item_level_art 15
type 143
resist_cold 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_elec
def_arch legs_leather_elec
editor 2:items/armour/legs
Object
title of small electricity protection
face legs_leather_elec.101
item_level_art 15
type 143
resist_electricity 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_poison
def_arch legs_leather_poison
editor 2:items/armour/legs
Object
title of small poison protection
face legs_leather_poison.101
item_level_art 15
type 143
resist_poison 15
is_magical 1
value 4230
end
#
Allowed all
chance 10
difficulty 15
artifact legs_sm_acid
def_arch legs_leather_acid
editor 2:items/armour/legs
Object
title of small acid protection
face legs_leather_acid.101
item_level_art 15
type 143
resist_acid 15
is_magical 1
value 4230
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_fire
def_arch legs_leather_fire
editor 2:items/armour/legs
Object
title of medium fire protection
face legs_leather_fire.101
item_level_art 25
type 143
resist_fire 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_cold
def_arch legs_leather_ice
editor 2:items/armour/legs
Object
title of medium cold protection
face legs_leather_ice.101
item_level_art 25
type 143
resist_cold 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_elec
def_arch legs_leather_elec
editor 2:items/armour/legs
Object
title of medium electricity protection
face legs_leather_elec.101
item_level_art 25
type 143
resist_electricity 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_poison
def_arch legs_leather_poison
editor 2:items/armour/legs
Object
title of medium poison protection
face legs_leather_poison.101
item_level_art 25
type 143
resist_poison 20
is_magical 1
value 4653
end
#
Allowed all
chance 5
difficulty 25
artifact legs_med_acid
def_arch legs_leather_acid
editor 2:items/armour/legs
Object
title of medium acid protection
face legs_leather_acid.101
item_level_art 25
type 143
resist_acid 20
is_magical 1
value 4653
end
#

Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #4 on: 25, August 2014, 23:09:56 »
It seems that somewhere along the line you've duplicated your list of definitions several times (it is picking up on legs_med_acid because that is last in your list so first to the server and ERRORs kill the server at the first sign of trouble). Trim the dupes and it should work fine.

Joe

« Reply #5 on: 25, August 2014, 23:27:36 »
Hmm, but I need one for minor-fire, cold, electricity, poison, and acid, for lesser, small, and medium.  On plate, chain, leather, and pants.  I think I tore off more than I can chew...
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #6 on: 25, August 2014, 23:43:47 »
OK I see. Well artifact <name> is like Object <name> for normal arches: <name> must be unique. So maybe add the materialpart of the name from def_arch to artifact (ie artifact legs_med_chain_acid def_arch legs_chain_acid ... artifact legs_med_plate_acid def_arch legs_plate_acid ... etc).

Joe

« Reply #7 on: 26, August 2014, 00:30:05 »
Ah I get it now, thanks for your help!  :)
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

Joe

« Reply #8 on: 01, September 2014, 19:54:51 »
Having a hard time figuring out how to animate artifacts, not sure what I'm doing wrong.  Here is a sample of the code I'm using:
Code: [Select]
Allowed legs_leather
chance 5
t_style 5
difficulty 25
artifact legs_leather_med_acid
def_arch legs_leather_acid
editor 2:items/armour/legs
Object
title of medium acid protection
face legs_leather_acid.101
item_level_art 25
animation legs_leather_acid
is_animated 1
anim_speed 2
speed 1
type 143
resist_acid 20
is_magical 1
value 4653
end
When this item drops in a corpse it only uses the first line of the animation, which = no animation.  :-\
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #9 on: 01, September 2014, 22:43:46 »
IDK. I'll need to look at the server code but my guess is artifacts can't be animated (whether for some real reason or just an oversight I have no idea). Is the first line of the .anim the same as the face value (IOW it is not using the animation at all)?

OTOH is the .anim borked? Post it.

Joe

« Reply #10 on: 02, September 2014, 06:52:32 »
Here is the anim I'm using.
Code: [Select]
anim legs_leather_acid
legs_leather_acid.101
legs_leather_acid.102
legs_leather_acid.103
legs_leather_acid.104
mina
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #11 on: 04, September 2014, 14:23:08 »
I had a peek at the code yesterday but got distracted by 0.10.7. But then it occurred to me in the shower this morning that I reckon the problem is artifacts are built after animations.

This is easy to test. On local, change the animation line in your artifacts file to something known to work in a normal arch, eg, animation horn. Does it work?

Joe

« Reply #12 on: 04, September 2014, 21:55:44 »
That is kind of hard to test, I'd have to find a pair of the pants from a random drop.  My guess is that it wouldn't work.  Here is the .arc file used with the leather pants.
Code: [Select]
Object legs_leather_acid
name acid leather legs
type 143
face legs_leather_acid.101
layer 3
weight 550
ac 1
resist_impact 6
resist_cleave 6
resist_slash 6
resist_pierce 6
animation legs_leather_acid
is_animated 1
anim_speed 2
speed 1
value 50
material_real 193
material 8
nrof 1
end
I've tried having just the anim line in the .arc alone, and also with it only in the artifacts, but didn't get it to work either way.
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #13 on: 04, September 2014, 22:11:02 »
It's easy to test. Just edit the treasurelist to always drop that artifact.

But, does the animation work properly on the normal arch?

Also, IIRC, you don't need the animation, is_animated, or any other attributes in the artifact that are already in the def_arch. It inherits them.

Joe

« Reply #14 on: 05, September 2014, 21:04:18 »
Ok the artifacts won't work, but the normal arches work fine.
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

Tags:
 

Related Topics

  Subject / Started by Replies Last post
Artifacts

Started by smacky Scripts

6 Replies
1308 Views
Last post 28, February 2007, 00:18:12
by smacky
37 Replies
570979 Views
Last post 16, January 2021, 13:24:36
by smacky
artifacts

Started by myths Spoilers

3 Replies
2755 Views
Last post 22, November 2010, 16:24:18
by zrubavel
7 Replies
2199 Views
Last post 10, July 2020, 20:54:02
by Shroud
2 Replies
57 Views
Last post 09, January 2022, 22:40:52
by Dolfo