Adding Embers of Rage items to store in the main campaign

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Puška
Low Yeek
Posts: 7
Joined: Wed Mar 23, 2016 9:09 pm

Adding Embers of Rage items to store in the main campaign

#1 Post by Puška »

My current code which was almost directly taken from Embers of Rage (read stolen) doesn't quite work, none of the items but the Longswords, which I added as a test, appear in the shop. Is their any way to get the Embers of Rage items to appear in the store?

Code: Select all

newEntity{
	define_as = "TINKERS",
	name = "tinker shop",
	display = '5', color=colors.GREY,
	store = {
		purse = 25,
		empty_before_restock = false,
		fixed = {
			{id=true, defined="SCHEMATIC_RANDOM_FROST_SALVE"},
			{id=true, defined="SCHEMATIC_RANDOM_FIERY_SALVE"},
			{id=true, defined="SCHEMATIC_RANDOM_WATER_SALVE"},
			{id=true, defined="SCHEMATIC_RANDOM_STEAMSAW"},
			{id=true, defined="SCHEMATIC_RANDOM_STEAMGUN"},
			{id=true, defined="APE"},
		},
		filters = {
			{type="scroll", subtype="schematic", id=true},
			{type="scroll", subtype="implant", id=true},
			{type="weapon", subtype="longsword", id=true, tome_drops="boss"},
		},
	},
}
On a side note what hook do you use to add a new conversation to the game?

Post Reply