User Tools

Site Tools


objprogs

Differences

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

Link to this comparison view

Next revision
Previous revision
objprogs [2014/06/19 19:41]
astark created
objprogs [2014/06/19 19:44] (current)
astark
Line 1: Line 1:
- +|Field|Type|Note| 
-|Field|Type|Note +|name|string| 
-|name|string +|shortdescr|string| 
-|shortdescr|string +|clan|string|No clan is a blank string, e.g. "",​ not nil| 
-|clan|string|No clan is a blank string, e.g. "",​ not nil +|clanrank|number|No clan returns 0, 1 = recruit, 2 = initiate, etc| 
-|clanrank|number|No clan returns 0, 1 = recruit, 2 = initiate, etc +|level|number|| 
-|level|number +|owner|string|No owner returns nil| 
-|owner|string|No owner returns nil +|cost|number| | 
-|cost|number +|material|string| | 
-|material|string +|vnum|number| | 
-|vnum|number +|otype|string|See [[Flags]] (Item table)| 
-|otype|string|See [[Flags]] (Item table) +|weight|number|| 
-|weight|number +|room|[[ROOMProperties OR ROOM]]|When used with GIVE mprog, will return nil| 
-|room|[[ROOMProperties OR ROOM]]|When used with GIVE mprog, will return nil +|inobj|[[OBJProperties OR OBJ]]| 
-|inobj|[[OBJProperties OR OBJ]] +|carriedby|[[CHProperties OR CH]]| 
-|carriedby|[[CHProperties OR CH]] +|v0|number|For weapons: exotic = 0, sword = 1, dagger = 2, spear = 3, mace = 4, axe = 5, flail = 6, whip = 7, polearm = 8, gun = 9, bow = 10| 
-|v0|number|For weapons: exotic = 0, sword = 1, dagger = 2, spear = 3, mace = 4, axe = 5, flail = 6, whip = 7, polearm = 8, gun = 9, bow = 10 +|v1|number|| 
-|v1|number +|v2|number|| 
-|v2|number +|v3|number|For weapons: see [[WeaponsDamTypeTab OR table]]| 
-|v3|number|For weapons: see [[WeaponsDamTypeTab OR table]] +|v4|number|| 
-|v4|number +|wearlocation|string|See [[Flags OR wear location flags]]| 
-|wearlocation|string|See [[Flags OR wear location flags]] +|contents|array of [[OBJProperties OR OBJ]]|| 
-|contents|array of [[OBJProperties OR OBJ]] +|proto|[[OBJPROTOProperties OR OBJPROTO]]|Prototype for the object|
-|proto|[[OBJPROTOProperties OR OBJPROTO]]|Prototype for the object+
  
 ==Otype specific properties ==Otype specific properties
objprogs.1403232082.txt.gz · Last modified: 2014/06/19 19:41 by astark