User Tools

Site Tools


lua:changelog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lua:changelog [2015/09/28 02:28] – [12/27/2013] vodurlua:changelog [2016/03/21 21:55] (current) – [3/15/2016] vodur
Line 1: Line 1:
 ====== Log of changes affecting lua scripting API including changes to prog triggers. ====== ====== Log of changes affecting lua scripting API including changes to prog triggers. ======
 +
 +===== 3/21/2016 =====
 +
 +  - Add CH.ascents and CH.subclass.
 +
 +=====   =====
 +
 +===== 3/15/2016 =====
 +
 +  - Global log() no longer takes format arguments.
 +  - log() now has optional 2nd argument to send to wiznet.
 +
 +===== 3/14/2016 =====
 +
 +  - Add oprog command trigger (Bobble).
 +
 +===== 2/14/2016 =====
 +
 +  - Add oprog merge trigger.
 +
 +===== 2/10/2016 =====
 +
 +  - Add CH.savesphys, CH.savesmagic.
 +
 +===== 2/7/2016 =====
 +
 +  - Add db.exec(), db.escape(), db.libversion().
 +  - Add CH.godname, CH.religionrank, CH.faith.
 +
 +===== 10/26/2015 =====
 +
 +  - Remove OBJ:wear() and OBJPROTO:wear().
 +  - Add OBJ.weartype and OBJPROTO.weartype.
 +
 +===== 10/19/2015 =====
 +
 +  - Add oprog death trigger.
 +
 +===== 10/10/2015 =====
 +
 +  - Add CH.dicenumber and CH.dicetype.
 +
 +===== 10/5/2015 =====
 +
 +  - Add CH:setoffensive().
 +  - Adjust all EXIT methods with side effects to security 1 (from 0).
  
 ===== 9/27/2015 ===== ===== 9/27/2015 =====
Line 9: Line 55:
   - Teleport spell now honors rprog exit, aprog rexit, aprog exit, aprog enter, aprog renter, rprog enter triggers.   - Teleport spell now honors rprog exit, aprog rexit, aprog exit, aprog enter, aprog renter, rprog enter triggers.
   - Word of recall spell now honors rprog exit, aprog rexit, aprog exit, aprog enter, aprog renter, rprog enter triggers.   - Word of recall spell now honors rprog exit, aprog rexit, aprog exit, aprog enter, aprog renter, rprog enter triggers.
-  - Transfer() and gtransfer() now honor rprog exit, aprog rexit, aprog exit triggers (already honored aprog enter, aprong renter, rprog enter, oprog greet, mprog greet).+  - Transfer() and gtransfer() now honors rprog exit, aprog rexit, aprog exit triggers (already honored aprog enter, aprong renter, rprog enter, oprog greet, mprog greet)
 +  - Fixed order of trigger processing when entering portals. Add check for oprog move trigger. 
 +  - Added area scoped 'shared' table.
  
 ===== 9/26/2015 ===== ===== 9/26/2015 =====
Line 218: Line 266:
 ===== 12/26/2013 ===== ===== 12/26/2013 =====
  
-1. Added 'luaquery' command. \\ 2. Fixed code to actually check security (was only working for global funcs). \\ 3. All 'set' fields changed to security 5. \\ 4. Added util.strlen_color. \\ 5. Added util.truncate_color_string. \\ 6. Added util.format_color_string. \\ 7. Added 'damavg' for OBJ and OBJPROTO (weapon only). \\ 8. Added 'ingame' for CH, OBJ. \\ 9. Added 'area' field for OBJPROTO, MOBPROTO. \\ 10. All "check only" methods left with security 0, all others are set to 1.+  - Added 'luaquery' command. 
 +  - Fixed code to actually check security (was only working for global funcs). 
 +  - All 'set' fields changed to security 5. 
 +  - Added util.strlen_color. 
 +  - Added util.truncate_color_string. 
 +  - Added util.format_color_string. 
 +  - Added 'damavg' for OBJ and OBJPROTO (weapon only). 
 +  - Added 'ingame' for CH, OBJ. 
 +  - Added 'area' field for OBJPROTO, MOBPROTO. 
 +  - All "check only" methods left with security 0, all others are set to 1.
  
 ===== 12/20/2013 ===== ===== 12/20/2013 =====
  
-1. Added 'description' get and set for OBJ, get for OBJPROTO. \\ 2. Added rprog 'try' trigger.+  - Added 'description' get and set for OBJ, get for OBJPROTO. 
 +  - Added rprog 'try' trigger.
  
 ===== 12/17/2013 ===== ===== 12/17/2013 =====
  
-1. Added 'ingame' field for OBJPROTO/MOBPROTO/ROOM.+  - Added 'ingame' field for OBJPROTO/MOBPROTO/ROOM.
  
 ===== 12/16/2013 ===== ===== 12/16/2013 =====
  
-1. Added 'damtype' get field for OBJ/OBJPROTO.+  - Added 'damtype' get field for OBJ/OBJPROTO.
  
 ===== 12/15/2013 ===== ===== 12/15/2013 =====
  
-1. Added 'other' section to luahelp. \\ 2. 'setact' no longer accepts "not <flagname>" syntax. \\ 3. 'setact' will error if called on PC. \\ 3. Added global 'getobjlist'\\ 4. Added the following otype specific flag check methods for OBJ and OBJPROTO: +  - Added 'other' section to luahelp. 
- +  - 'setact' no longer accepts "not <flagname>" syntax. 
-<code> +  - 'setact' will error if called on PC. 
-  a. exitflag +  - Added global 'getobjlist'. 
-  b. portalflag +  - Added the following otype specific flag check methods for OBJ and OBJPROTO: 
-  c. furnitureflag +      exitflag 
-  d. weaponflag +      portalflag 
-  e. containerflag +      furnitureflag 
-</code> +      weaponflag 
- +      containerflag 
-5. Added the following otype specific get fields for OBJ and OBJPROTO: +  Added the following otype specific get fields for OBJ and OBJPROTO: 
- +      light 
-<code> +      arrowcount 
-  a. light +      arrowdamage 
-  b. arrowcount +      arrowdamtype 
-  c. arrowdamage +      spelllevel 
-  d. arrowdamtype +      chargestotal 
-  e. spelllevel +      chargesleft 
-  f. chargestotal +      spellname 
-  g. chargesleft +      toroom 
-  h. spellname +      maxpeople 
-  i. toroom +      maxweight 
-  j. maxpeople +      healbonus 
-  k. maxweight +      manabonus 
-  l. healbonus +      spells 
-  m. manabonus +      acpierce 
-  n. spells +      acbash 
-  o. acpierce +      acslash 
-  p. acbash +      acexotic 
-  q. acslash +      weapontype 
-  r. acexotic +      numdice 
-  s. weapontype +      dicetype 
-  t. numdice +      attacktype 
-  u. dicetype +      key 
-  v. attacktype +      capacity 
-  w. key +      weightmult 
-  x. capacity +      liquidtotal [renamed from 'total'
-  y. weightmult +      liquidleft [renamed from 'left'
-  z. liquidtotal [renamed from 'total'+      liquid 
-  aa. liquidleft [renamed from 'left'+      poisoned 
-  ab. liquid +      foodhours 
-  ac. poisoned +      fullhours 
-  ad. foodhours +      silver 
-  ae. fullhours +      gold
-  af. silver +
-  ag. gold +
-</code>+
  
 ===== 12/11/2013 ===== ===== 12/11/2013 =====
lua/changelog.1443407296.txt.gz · Last modified: 2015/09/28 02:28 by vodur