Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A quick question re: entity tokens  (Read 650 times)

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
A quick question re: entity tokens
« on: January 01, 2009, 04:31:14 pm »

So i'm playing LegoLord's lego mod and can't find any fire swords, so i looked in the entity file and here's a snippet of what i found:
Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_SWORD_FIRE]
[WEAPON:ITEM_WEAPON_SPEAR]
Oh, and i am playing as the right civ and looking in the right shop, because there are other modded-in weapons from that civ.

My question is: what does the ITEM_WEAPON token mean? I can't find it on the wiki.

I'm not much of a modder, so the simpler the explaination the better.
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: A quick question re: entity tokens
« Reply #1 on: January 01, 2009, 04:47:09 pm »

It should be WEAPON here instead. Remove "ITEM_" part and generate a new world, this entity will have swords with them.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: A quick question re: entity tokens
« Reply #2 on: January 01, 2009, 08:07:41 pm »

It should be WEAPON here instead. Remove "ITEM_" part and generate a new world, this entity will have swords with them.
I guessed that much, but what does it mean as-is? Could i make them in fortress mode?
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Teldin

  • Bay Watcher
  • Canadian Bacon
    • View Profile
Re: A quick question re: entity tokens
« Reply #3 on: January 04, 2009, 02:42:39 am »

It means it's a typo.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: A quick question re: entity tokens
« Reply #4 on: January 04, 2009, 05:54:04 am »

Yeah, there's no ITEM_WEAPON token in entity txt file; it's used to show that you want to describe a weapon in weapon item txt file.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository