Author Topic: Leftovers in tlexer.mll ?  (Read 1193 times)

Guest

  • Guest
Leftovers in tlexer.mll ?
« on: December 28, 2006, 09:15:48 AM »
SET_WEIGHT :
 Cruft from the .d / .tp2 split? Still necessary for back-compatibility?

DESCRIBE_ITEM:
 What is this :) ?

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: Leftovers in tlexer.mll ?
« Reply #1 on: December 28, 2006, 09:42:44 AM »
DESCRIBE_ITEM sets a variable with item statistics. It's a TP2 front-end to the Icewind Gate method of creating item descriptions based on the actual item statistics and abilities. You'll never find any use for it.

IIRC, you'd do something like
Code: [Select]
COPY_EXISTING SW1H01.ITM override
DESCRIBE_ITEM variable_name
Afterward, variable_name is a variable holding a pretty-printed string of some of the common item stats (range, weight, damage, abilities list, etc.).
« Last Edit: December 28, 2006, 09:45:14 AM by devSin »

Guest

  • Guest
Re: Leftovers in tlexer.mll ?
« Reply #2 on: December 28, 2006, 10:08:48 AM »
Keen, thank you. I'll never use it.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: Leftovers in tlexer.mll ?
« Reply #3 on: December 28, 2006, 10:42:45 AM »
SET_WEIGHT :
 Cruft from the .d / .tp2 split? Still necessary for back-compatibility?
Probably some useless leftover crap, but it shouldn't create bugs. I'm removing it anyway.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: