Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Creature token HAS_RACEGLOSS doesn't accept STONE_ diff  (Read 933 times)

nunix

  • Bay Watcher
    • View Profile
Creature token HAS_RACEGLOSS doesn't accept STONE_ diff
« on: March 09, 2008, 02:00:00 am »

Really only important for modders at the moment.

Made a creature that HAS_RACEGLOSS:STONE_LAYER and it treated it as if it didn't have a racegloss at all; however, no errorlog was generated. This might become important at some point as you might want things of STONE_LAYER but not STONE_GEM (right now, STONE by itself is all-inclusive). Setting them to :STONE had them coming up as various minerals, gems, et cetera just fine, so the token certainly works (I just worked off the treant as an example).

Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Creature token HAS_RACEGLOSS doesn't accept STONE_ diff
« Reply #1 on: March 10, 2008, 11:19:00 am »

It does not accept a certain existing matgloss, it is hardcoded to accept either STONE, METAL, or WOOD. You can't have PLANT, for example. It would be better if HAS_RACEGLOSS would be replaced with MATERIAL: in function. The USE_RACEGLOSS tag (for itemcorpse) would then be renamed to USE_MATERIAL, and that would solve that particular problem.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India