Bay 12 Games Forum

Other Projects => Curses => Topic started by: jakeread1 on March 20, 2013, 07:05:16 pm

Title: Modding Dept Store help
Post by: jakeread1 on March 20, 2013, 07:05:16 pm
How do I change the letter to buy an item, I added an Iron Pipe to the hardware section of the dept store but the letter is E which is the letter for examining the equipment of the squad. Any idea how to fix this?
Title: Re: Modding Dept Store help
Post by: Teh Barple on March 20, 2013, 09:36:21 pm
change it to something else
Title: Re: Modding Dept Store help
Post by: jakeread1 on March 21, 2013, 04:49:17 pm
*facedesk* How do I change the letter to either exit the store, or the letter to buy an item?
Title: Re: Modding Dept Store help
Post by: Teh Barple on March 22, 2013, 07:36:24 am
get xml notepad, it is much easier to edit the xml and stuff

http://www.microsoft.com/en-us/download/details.aspx?id=7973
Title: Re: Modding Dept Store help
Post by: jakeread1 on March 22, 2013, 01:51:57 pm
I already have that, what tool to use wasn't my question. My question is HOW TO CHANGE THE LETTER TO EXIT THE STORE.
Title: Re: Modding Dept Store help
Post by: Teh Barple on March 22, 2013, 06:30:58 pm
I already have that, what tool to use wasn't my question. My question is HOW TO CHANGE THE LETTER TO EXIT THE STORE.

you don't

why not change the letter for the weapon?
Title: Re: Modding Dept Store help
Post by: KA101 on March 23, 2013, 10:33:04 pm
I posted a fix for that problem a while back but it's probably buried by now.  I'll dig it up in a bit.
Here's the thread: http://www.bay12forums.com/smf/index.php?topic=121175.0

You ought to be able to copy that code over the existing deptstore.xml; if that doesn't work or seems too dangerous, add
Code: [Select]
<letter>(whatever letter you want)</letter> to each block.  You'll have to do that for each item in the sections that haven't got letters designated, but judicious use of copy/paste can save a lot of time.
Title: Re: Modding Dept Store help
Post by: Carlos Gustavos on March 25, 2013, 07:53:44 am
The automatic letter assignment for items in shops is bugged in the current release version. You have to specify one, but don't use one already used by the shop interface.
Title: Re: Modding Dept Store help
Post by: KA101 on March 30, 2013, 04:03:15 pm
Belated thanks for the underlying fix, Carlos.