Is there a way to keep one artifact from randomizing with randart at birth? I'm trying to prevent randomizing Sting but I want all the others to be new...
Almost Random Artifacts
Collapse
X
-
A.Ironband - http://angband.oook.cz/ironband/ -
It's not quite that straightforward. The game analyzes artifact.txt to get an understanding of what kinds of power levels are appropriate, and then uses that analysis to guide generation of new artifacts. It doesn't mutate artifacts in-place, in other words. You'd need to add additional logic to do something like "if you encounter an artifact with this special flag, don't analyze its power, but do record it in this data structure over here", and then in the randart generation, say "take this data structure and add artifacts from the data in it, before doing the usual randart generation process." And that still wouldn't let you do things like Antoine was suggesting.Comment
-
-
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
You'd need to add additional logic to do something like "if you encounter an artifact with this special flag, don't analyze its power, but do record it in this data structure over here", and then in the randart generation, say "take this data structure and add artifacts from the data in it, before doing the usual randart generation process."
I assume excluding these artfacts is hard-coded in the randart code. Instead a new flag could be introduced that controls this behaviour.Comment
Comment