I know I've added a lot of regular items, and modified artifacts, but I don't remember adding artifacts.
Make sure you increase the number of artifacts the game expects to find when it reads that text file. That number is in one of those files somewhere. Artifact.txt? Maybe, I forget.
@T-Mick Do you know of a way to guarantee that your modified artefact drops? Say at 100 feet?
Nothing is guaranteed, but you can set the rarity to super-common and make sure the base item is also super-common. That helps.
If I recall correctly, artifacts cannot drop in the town, incidentally. But you could e.g. move Farmer Maggot to 50', then he'd have a chance of dropping an artifact (and a higher chance than normal enemies would, because he's unique). You could also give item drops to his dogs.
If I recall correctly, artifacts cannot drop in the town, incidentally. But you could e.g. move Farmer Maggot to 50', then he'd have a chance of dropping an artifact (and a higher chance than normal enemies would, because he's unique). You could also give item drops to his dogs.
...once you had added Farmer Maggot, his dogs and a town to Sil
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
You need to add a value to the limits file too. Are you adding a new type like 'a Phial', or just another artifact with an existing object type. There's a big difference.
You need to add a value to the limits file too. Are you adding a new type like 'a Phial', or just another artifact with an existing object type. There's a big difference.
I'm adding a sword, what I tried to do was copy and past the text for one sword and change the number and name of it (I thought that would suffice to make a new entity)
As a matter of interest what is the difference between a phial or another existing object type
I do not get how the tval and sval functions and how I should chamge it
tval is "type" and sval is "subtype"; together they identify the specific item like Dagger, Lembas, etc. Examples of types are edged weapons, food, staves (they generally correspond to a graphic).
I want to put a sword (that I added) that is an artefact in my start inventory to make sure it is the way I want it, but I keep getting an ordinary mithril sword, why?
I want to put a sword (that I added) that is an artefact in my start inventory to make sure it is the way I want it, but I keep getting an ordinary mithril sword, why?
My guess is that the code that makes the player starting inventory just grabs the base item, and has no capacity for adding the artifact information.
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Comment