vault testing crash


If you are interested in helping with tiles, vaults, patches or documentation, this is the place for that.

Shoals Surfer

Posts: 274

Joined: Monday, 17th December 2012, 16:04

Post Tuesday, 22nd December 2015, 19:50

vault testing crash

viewtopic.php?f=19&t=499
I tried my hand at creating a simple vault but when i add it to a des file the game crashes on startup.
What am i doing wrong? I found a similair question in a thread from a while ago but minmays answer is gone.
I added it to shops.des, then when i start crawl it crashes after "loading maps", if I remove the map the game functions normally.

  Code:
#Sells only items that mutate.
NAME: lacuenta_mutation_shop
TAGS: transparent
DEPTH: Elf
MARKER: a = lua:fog_machine { cloud_type = "mutagenic fog", \
            pow_min = 100, pow_max = 100, delay = 1, \
            size = 1, walk_dist = 0, start_clouds = 1 }
KFEAT:   s = general shop type:Maximum suffix:Mutables count:7 ; \
         w:70 potion of mutation | w:10 any weapon ego:chaos | \
         w:9 randbook disc:transmutation | w:1 Plutonium Sword
MAP
.......
.A.A.A.
.......
.A.s.A.
.......
.A.A.A.
.......
ENDMAP
aka: Innameasone and electricaloddity
User avatar

Dungeon Master

Posts: 502

Joined: Wednesday, 7th March 2012, 13:25

Location: Lexington, KY, US

Post Wednesday, 23rd December 2015, 01:37

Re: vault testing crash

I get the error message:
  Code:
dat/des/builder/shops.des:584: Bad item name: 'Plutonium Sword'


You need
  Code:
triple sword unrand:Plutonium_Sword
(or, because of how unrand parsing works, you could even do "bread ration unrand:Plutonium_Sword"; the only difference being what happens if the unrand already exists).

Return to Contributions

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.