View Single Post
  #23  
Old 06-20-2003, 11:36 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Ok first off the item struct isn't wrong, just most of us have old struct format items lurking around. You can test this by looking at say your mechanical lockpicks in game notice the skill mod doesn't show? Now try a more recent item, 24602 for instance will show it's skill mod.

Now doors wheee!
Ok i just got done moveing all the door code to the ::HandleClick() function.
Changes include,
locked doors without a key item assigned (lockpick=skill,keyitem=0)
locked doors that can not be picked (lockpick=0,keyitem=item_nr)
check the cursored item for lock pick skill
skill mods are handled inside GetSkill()
Use IncreaseSkill() for skill ups

TODO:
Use the fancy(not acurate atm) check skill increase function
Keyring (bleh)

Point out anything you fixed above i missed please =)
Reply With Quote