README.md edited online with Bitbucket
[swg-src.git] / dsrc / sku.0 / sys.server / compiled / game / object / object_template.tdf
blob58d5da4d78e108f87bacbd82a51d82b0ce2b3c55
1 id SWOO
2 templatename    .*
3 serverpath      ..\..\..\..\..\..\src\engine\server\library\serverGame\src\shared\objectTemplate
4 compilerpath    ..\..\..\..\..\..\src\engine\shared\library\sharedTemplate\src\shared\template
6 version 0
8 enum Attributes
10         AT_health
11         AT_strength
12         AT_constitution
13         AT_action
14         AT_quickness
15         AT_stamina
16         AT_mind
17         AT_focus
18         AT_willpower
21 enum MentalStates
23         MS_fear
24         MS_anger
25         MS_interest
26         // MS_contempt
27         // MS_disgust
28         MS_distress
29         // MS_joy
30         // MS_shame
31         // MS_surprise
34 enum UpdateRanges
36         UR_near
37         UR_normal
38         UR_far
41 enum MoveFlags
43         MF_gm
44         MF_player
47 enum VisibleFlags
49         VF_gm
50         VF_player
53 enum DeleteFlags
55         DF_gm
56         DF_player
59 enum CraftingType
61         CT_weapon
62         CT_armor
63         CT_food
64         CT_clothing
65         CT_vehicle
66         CT_droid
67         CT_chemical
68         CT_plantBreeding
69         CT_animalBreeding
70         CT_furniture
71         CT_installation
72         CT_lightsaber
73         CT_genericItem
76 enum XpTypes
78         XP_rangedCombat
79         XP_meleeCombat
80         XP_tamingNoTime
81         XP_tamingShortTime
82         XP_tamingMediumTime
83         XP_tamingLargeTime
84         XP_architect
85         XP_botany
86         XP_bountyHunter
87         XP_chemist
88         XP_dancing
89         XP_facilityManagementSavings
90         XP_facilityManagementWearAndTear
91         XP_farmer
92         XP_squadLeaderNoTime
93         XP_squadLeaderSmallTime
94         XP_squadLeaderMediumTime
95         XP_squadLeaderLargeTime
96         XP_hairdressing
97         XP_holonetSlicingPopularity
98         XP_holonetSlicingQuantity
99         XP_investigation
100         XP_medic
101         XP_military
102         XP_mining
103         XP_miningSavings
104         XP_musician
105         XP_musicanPopularity
106         XP_politics
107         XP_slicing
108         XP_smuggling
109         XP_surveyingNoMinimum
110         XP_surveyingLowMinimum
111         XP_surveyingMediumMinimum
112         XP_surveyingHighMinimum
113         XP_survivalHealing
114         XP_survivalTracking
115         XP_tailoring
116         XP_vehicularControl
117         XP_vehicularWearAndTear
118         XP_cooking
119         XP_weaponCrafting
120         XP_armorCrafting
121         XP_vehicleCrafting
122         XP_facilityCrafting
123         XP_droidCrafting
126 struct AttribMod
128         id ATTS
129         enumAttributes target      server        //which attribute is affected
130         int            value       server        //max strength of the modifier
131         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
132         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
133         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
136 struct MentalStateMod
138         id MESM
139         enumMentalStates target    server       //which mental state is affected
140         float          value       server       //max strength of the modifier
141         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
142         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
143         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
146 struct Contents
148         id CONT
149         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
150         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
151         templatetangible_object_template    content               //the object to add
154 struct Xp
156         id EXPS
157         enumXpTypes       type           //type of experience earned
158         int               level          //difficulty level, 0 for leveless xp types
159         int               value          //amount of experience earned
163                           filename                 sharedTemplate         //template the client should associate with this template
164 list                      string                   scripts                //scripts attached to the object
165                           objvar                   objvars                //default objvars added to the object
166                           int                      volume                 //how much room does the object take up
167 list                      enumVisibleFlags         visibleFlags           //who can see this object
168 list                      enumDeleteFlags          deleteFlags            //who can delete this object
169 list                      enumMoveFlags            moveFlags              //who can move this object
170                           bool                     invulnerable           //can this object not be destroyed/killed
171                           float                    scale                  //modification to object's size
172                           bool                     decay                  //does this object decay
173                           float                    maxDecayPoints         //how decayed this object can become (?)
174                           float                    currentDecayPoints     //how decayed this object is
175                           float                    complexity             //how hard this item is to craft (?)
176                           int                      tintIndex              //index into client tint palette
177 list enumListUpdateRanges float                    updateRanges           //distances for network updates
178 list                      structContents           contents               //what's in this object
179 list                      structXp                 xpPoints               //experience points for interacting with this object
181 version 1
183 enum Attributes
185         AT_health
186         AT_strength
187         AT_constitution
188         AT_action
189         AT_quickness
190         AT_stamina
191         AT_mind
192         AT_focus
193         AT_willpower
196 enum MentalStates
198         MS_fear
199         MS_anger
200         MS_interest
201         // MS_contempt
202         // MS_disgust
203         MS_distress
204         // MS_joy
205         // MS_shame
206         // MS_surprise
209 enum UpdateRanges
211         UR_near
212         UR_normal
213         UR_far
216 enum MoveFlags
218         MF_gm
219         MF_player
222 enum VisibleFlags
224         VF_gm
225         VF_player
228 enum DeleteFlags
230         DF_gm
231         DF_player
234 enum CraftingType
236         CT_weapon
237         CT_armor
238         CT_food
239         CT_clothing
240         CT_vehicle
241         CT_droid
242         CT_chemical
243         CT_plantBreeding
244         CT_animalBreeding
245         CT_furniture
246         CT_installation
247         CT_lightsaber
250 enum XpTypes
252         XP_rangedCombat
253         XP_meleeCombat
254         XP_tamingNoTime
255         XP_tamingShortTime
256         XP_tamingMediumTime
257         XP_tamingLargeTime
258         XP_architect
259         XP_botany
260         XP_bountyHunter
261         XP_chemist
262         XP_dancing
263         XP_facilityManagementSavings
264         XP_facilityManagementWearAndTear
265         XP_farmer
266         XP_squadLeaderNoTime
267         XP_squadLeaderSmallTime
268         XP_squadLeaderMediumTime
269         XP_squadLeaderLargeTime
270         XP_hairdressing
271         XP_holonetSlicingPopularity
272         XP_holonetSlicingQuantity
273         XP_investigation
274         XP_medic
275         XP_military
276         XP_mining
277         XP_miningSavings
278         XP_musician
279         XP_musicanPopularity
280         XP_politics
281         XP_slicing
282         XP_smuggling
283         XP_surveyingNoMinimum
284         XP_surveyingLowMinimum
285         XP_surveyingMediumMinimum
286         XP_surveyingHighMinimum
287         XP_survivalHealing
288         XP_survivalTracking
289         XP_tailoring
290         XP_vehicularControl
291         XP_vehicularWearAndTear
292         XP_cooking
293         XP_weaponCrafting
294         XP_armorCrafting
295         XP_vehicleCrafting
296         XP_facilityCrafting
297         XP_droidCrafting
300 struct AttribMod
302         id ATTS
303         enumAttributes target      server        //which attribute is affected
304         int            value       server        //max strength of the modifier
305         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
306         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
307         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
310 struct MentalStateMod
312         id MESM
313         enumMentalStates target    server       //which mental state is affected
314         float          value       server       //max strength of the modifier
315         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
316         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
317         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
320 struct Contents
322         id CONT
323         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
324         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
325         templatetangible_object_template    content               //the object to add
328 struct Xp
330         id EXPS
331         enumXpTypes       type           //type of experience earned
332         int               level          //difficulty level, 0 for leveless xp types
333         int               value          //amount of experience earned
337                           filename                 sharedTemplate         //template the client should associate with this template
338 list                      string                   scripts                //scripts attached to the object
339                           objvar                   objvars                //default objvars added to the object
340                           int                      volume                 //how much room does the object take up
341 list                      enumVisibleFlags         visibleFlags           //who can see this object
342 list                      enumDeleteFlags          deleteFlags            //who can delete this object
343 list                      enumMoveFlags            moveFlags              //who can move this object
344                           bool                     invulnerable           //can this object not be destroyed/killed
345                           bool                     decay                  //does this object decay
346                           float                    maxDecayPoints         //how decayed this object can become (?)
347                           float                    currentDecayPoints     //how decayed this object is
348                           float                    complexity             //how hard this item is to craft (?)
349                           int                      tintIndex              //index into client tint palette
350 list enumListUpdateRanges float                    updateRanges           //distances for network updates
351 list                      structContents           contents               //what's in this object
352 list                      structXp                 xpPoints               //experience points for interacting with this object
355 version 2
357 enum Attributes
359         AT_health
360         AT_strength
361         AT_constitution
362         AT_action
363         AT_quickness
364         AT_stamina
365         AT_mind
366         AT_focus
367         AT_willpower
370 enum MentalStates
372         MS_fear
373         MS_anger
374         MS_interest
375         // MS_contempt
376         // MS_disgust
377         MS_distress
378         // MS_joy
379         // MS_shame
380         // MS_surprise
383 enum UpdateRanges
385         UR_near
386         UR_normal
387         UR_far
390 enum MoveFlags
392         MF_gm
393         MF_player
396 enum VisibleFlags
398         VF_gm
399         VF_player
402 enum DeleteFlags
404         DF_gm
405         DF_player
408 enum CraftingType
410         CT_weapon
411         CT_armor
412         CT_food
413         CT_clothing
414         CT_vehicle
415         CT_droid
416         CT_chemical
417         CT_plantBreeding
418         CT_animalBreeding
419         CT_furniture
420         CT_installation
421         CT_lightsaber
424 enum XpTypes
426         XP_rangedCombat
427         XP_meleeCombat
428         XP_tamingNoTime
429         XP_tamingShortTime
430         XP_tamingMediumTime
431         XP_tamingLargeTime
432         XP_architect
433         XP_botany
434         XP_bountyHunter
435         XP_chemist
436         XP_dancing
437         XP_facilityManagementSavings
438         XP_facilityManagementWearAndTear
439         XP_farmer
440         XP_squadLeaderNoTime
441         XP_squadLeaderSmallTime
442         XP_squadLeaderMediumTime
443         XP_squadLeaderLargeTime
444         XP_hairdressing
445         XP_holonetSlicingPopularity
446         XP_holonetSlicingQuantity
447         XP_investigation
448         XP_medic
449         XP_military
450         XP_mining
451         XP_miningSavings
452         XP_musician
453         XP_musicanPopularity
454         XP_politics
455         XP_slicing
456         XP_smuggling
457         XP_surveyingNoMinimum
458         XP_surveyingLowMinimum
459         XP_surveyingMediumMinimum
460         XP_surveyingHighMinimum
461         XP_survivalHealing
462         XP_survivalTracking
463         XP_tailoring
464         XP_vehicularControl
465         XP_vehicularWearAndTear
466         XP_cooking
467         XP_weaponCrafting
468         XP_armorCrafting
469         XP_vehicleCrafting
470         XP_facilityCrafting
471         XP_droidCrafting
474 struct AttribMod
476         id ATTS
477         enumAttributes target      server        //which attribute is affected
478         int            value       server        //max strength of the modifier
479         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
480         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
481         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
484 struct MentalStateMod
486         id MESM
487         enumMentalStates target    server       //which mental state is affected
488         float          value       server       //max strength of the modifier
489         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
490         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
491         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
494 struct Contents
496         id CONT
497         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
498         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
499         templatetangible_object_template    content               //the object to add
502 struct Xp
504         id EXPS
505         enumXpTypes       type           //type of experience earned
506         int               level          //difficulty level, 0 for leveless xp types
507         int               value          //amount of experience earned
511                           filename                 sharedTemplate         //template the client should associate with this template
512 list                      string                   scripts                //scripts attached to the object
513                           objvar                   objvars                //default objvars added to the object
514                           int                      volume                 //how much room does the object take up
515 list                      enumVisibleFlags         visibleFlags           //who can see this object
516 list                      enumDeleteFlags          deleteFlags            //who can delete this object
517 list                      enumMoveFlags            moveFlags              //who can move this object
518                           bool                     invulnerable           //can this object not be destroyed/killed
519                           bool                     decay                  //does this object decay
520                           float                    maxDecayPoints         //how decayed this object can become (?)
521                           float                    currentDecayPoints     //how decayed this object is
522                           float                    complexity             //how hard this item is to craft (?)
523                           int                      tintIndex              //index into client tint palette
524 list enumListUpdateRanges float                    updateRanges           //distances for network updates
525 list                      structContents           contents               //what's in this object
526 list                      structXp                 xpPoints               //experience points for interacting with this object
527                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
531 version 3
533 enum Attributes
535         AT_health
536         AT_strength
537         AT_constitution
538         AT_action
539         AT_quickness
540         AT_stamina
541         AT_mind
542         AT_focus
543         AT_willpower
546 enum MentalStates
548         MS_fear
549         MS_anger
550         MS_interest
551         // MS_contempt
552         // MS_disgust
553         MS_distress
554         // MS_joy
555         // MS_shame
556         // MS_surprise
559 enum UpdateRanges
561         UR_near
562         UR_normal
563         UR_far
566 enum MoveFlags
568         MF_gm
569         MF_player
572 enum VisibleFlags
574         VF_gm
575         VF_player
578 enum DeleteFlags
580         DF_gm
581         DF_player
584 // crafting types also defined in base_class.java
585 enum CraftingType
587         CT_weapon           = 0x00000001
588         CT_armor            = 0x00000002
589         CT_food             = 0x00000004
590         CT_clothing         = 0x00000008
591         CT_vehicle          = 0x00000010
592         CT_droid            = 0x00000020
593         CT_chemical         = 0x00000040
594         CT_plantBreeding    = 0x00000080
595         CT_animalBreeding   = 0x00000100
596         CT_furniture        = 0x00000200
597         CT_installation     = 0x00000400
598         CT_lightsaber       = 0x00000800
599         CT_genericItem      = 0x00001000
602 enum XpTypes
604         XP_rangedCombat
605         XP_meleeCombat
606         XP_tamingNoTime
607         XP_tamingShortTime
608         XP_tamingMediumTime
609         XP_tamingLargeTime
610         XP_architect
611         XP_botany
612         XP_bountyHunter
613         XP_chemist
614         XP_dancing
615         XP_facilityManagementSavings
616         XP_facilityManagementWearAndTear
617         XP_farmer
618         XP_squadLeaderNoTime
619         XP_squadLeaderSmallTime
620         XP_squadLeaderMediumTime
621         XP_squadLeaderLargeTime
622         XP_hairdressing
623         XP_holonetSlicingPopularity
624         XP_holonetSlicingQuantity
625         XP_investigation
626         XP_medic
627         XP_military
628         XP_mining
629         XP_miningSavings
630         XP_musician
631         XP_musicanPopularity
632         XP_politics
633         XP_slicing
634         XP_smuggling
635         XP_surveyingNoMinimum
636         XP_surveyingLowMinimum
637         XP_surveyingMediumMinimum
638         XP_surveyingHighMinimum
639         XP_survivalHealing
640         XP_survivalTracking
641         XP_tailoring
642         XP_vehicularControl
643         XP_vehicularWearAndTear
644         XP_cooking
645         XP_weaponCrafting
646         XP_armorCrafting
647         XP_vehicleCrafting
648         XP_facilityCrafting
649         XP_droidCrafting
652 struct AttribMod
654         id ATTS
655         enumAttributes target      server        //which attribute is affected
656         int            value       server        //max strength of the modifier
657         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
658         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
659         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
662 struct MentalStateMod
664         id MESM
665         enumMentalStates target    server       //which mental state is affected
666         float          value       server       //max strength of the modifier
667         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
668         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
669         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
672 struct Contents
674         id CONT
675         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
676         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
677         templatetangible_object_template    content               //the object to add
680 struct Xp
682         id EXPS
683         enumXpTypes       type           //type of experience earned
684         int               level          //difficulty level, 0 for leveless xp types
685         int               value          //amount of experience earned
689                           filename                 sharedTemplate         //template the client should associate with this template
690 list                      string                   scripts                //scripts attached to the object
691                           objvar                   objvars                //default objvars added to the object
692                           int                      volume                 //how much room does the object take up
693 list                      enumVisibleFlags         visibleFlags           //who can see this object
694 list                      enumDeleteFlags          deleteFlags            //who can delete this object
695 list                      enumMoveFlags            moveFlags              //who can move this object
696                           bool                     invulnerable           //can this object not be destroyed/killed
697                           bool                     decay                  //does this object decay
698                           float                    maxDecayPoints         //how decayed this object can become (?)
699                           float                    currentDecayPoints     //how decayed this object is
700                           float                    complexity             //how hard this item is to craft (?)
701                           int                      tintIndex              //index into client tint palette
702 list enumListUpdateRanges float                    updateRanges           //distances for network updates
703 list                      structContents           contents               //what's in this object
704 list                      structXp                 xpPoints               //experience points for interacting with this object
705                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
709 version 4
711 enum Attributes
713         AT_health
714         AT_strength
715         AT_constitution
716         AT_action
717         AT_quickness
718         AT_stamina
719         AT_mind
720         AT_focus
721         AT_willpower
724 enum MentalStates
726         MS_fear
727         MS_anger
728         MS_interest
729         // MS_contempt
730         // MS_disgust
731         MS_distress
732         // MS_joy
733         // MS_shame
734         // MS_surprise
737 enum UpdateRanges
739         UR_near
740         UR_normal
741         UR_far
744 enum MoveFlags
746         MF_gm
747         MF_player
750 enum VisibleFlags
752         VF_gm
753         VF_player
756 enum DeleteFlags
758         DF_gm
759         DF_player
762 // crafting types also defined in base_class.java
763 enum CraftingType
765         CT_weapon           = 0x00000001
766         CT_armor            = 0x00000002
767         CT_food             = 0x00000004
768         CT_clothing         = 0x00000008
769         CT_vehicle          = 0x00000010
770         CT_droid            = 0x00000020
771         CT_chemical         = 0x00000040
772         CT_plantBreeding    = 0x00000080
773         CT_animalBreeding   = 0x00000100
774         CT_furniture        = 0x00000200
775         CT_installation     = 0x00000400
776         CT_lightsaber       = 0x00000800
777         CT_genericItem      = 0x00001000
780 enum XpTypes
782         XP_rangedCombat
783         XP_meleeCombat
784         XP_tamingNoTime
785         XP_tamingShortTime
786         XP_tamingMediumTime
787         XP_tamingLargeTime
788         XP_architect
789         XP_botany
790         XP_bountyHunter
791         XP_chemist
792         XP_dancing
793         XP_facilityManagementSavings
794         XP_facilityManagementWearAndTear
795         XP_farmer
796         XP_squadLeaderNoTime
797         XP_squadLeaderSmallTime
798         XP_squadLeaderMediumTime
799         XP_squadLeaderLargeTime
800         XP_hairdressing
801         XP_holonetSlicingPopularity
802         XP_holonetSlicingQuantity
803         XP_investigation
804         XP_medic
805         XP_military
806         XP_mining
807         XP_miningSavings
808         XP_musician
809         XP_musicanPopularity
810         XP_politics
811         XP_slicing
812         XP_smuggling
813         XP_surveyingNoMinimum
814         XP_surveyingLowMinimum
815         XP_surveyingMediumMinimum
816         XP_surveyingHighMinimum
817         XP_survivalHealing
818         XP_survivalTracking
819         XP_tailoring
820         XP_vehicularControl
821         XP_vehicularWearAndTear
822         XP_cooking
823         XP_weaponCrafting
824         XP_armorCrafting
825         XP_vehicleCrafting
826         XP_facilityCrafting
827         XP_droidCrafting
830 enum ArmorRating
832         AR_armorNone
833         AR_armorLight
834         AR_armorMedium
835         AR_armorHeavy
838 enum DamageType
840         DT_kinetic
841         DT_energy
842         DT_blast
843         DT_stun
844         DT_restraint
845         DT_elemental           for weapon-type attacks, i.e. heat from flamethrower
846         DT_environmental       for constant weather attacks, i.e. cold on Hoth
847         DT_ammo            the ammo for the weapon determines the damage
850 enum ElementalDamageType
852         EDT_heat
853         EDT_cold
854         EDT_acid
855         EDT_electrical
858 struct AttribMod
860         id ATTS
861         enumAttributes target      server        //which attribute is affected
862         int            value       server        //max strength of the modifier
863         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
864         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
865         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
868 struct MentalStateMod
870         id MESM
871         enumMentalStates target    server       //which mental state is affected
872         float          value       server       //max strength of the modifier
873         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
874         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
875         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
878 struct Contents
880         id CONT
881         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
882         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
883         templatetangible_object_template    content               //the object to add
886 struct Xp
888         id EXPS
889         enumXpTypes       type           //type of experience earned
890         int               level          //difficulty level, 0 for leveless xp types
891         int               value          //amount of experience earned
895                           filename                 sharedTemplate         //template the client should associate with this template
896 list                      string                   scripts                //scripts attached to the object
897                           objvar                   objvars                //default objvars added to the object
898                           int                      volume                 //how much room does the object take up
899 list                      enumVisibleFlags         visibleFlags           //who can see this object
900 list                      enumDeleteFlags          deleteFlags            //who can delete this object
901 list                      enumMoveFlags            moveFlags              //who can move this object
902                           bool                     invulnerable           //can this object not be destroyed/killed
903                           bool                     decay                  //does this object decay
904                           float                    maxDecayPoints         //how decayed this object can become (?)
905                           float                    currentDecayPoints     //how decayed this object is
906                           float                    complexity             //how hard this item is to craft (?)
907                           int                      tintIndex              //index into client tint palette
908 list enumListUpdateRanges float                    updateRanges           //distances for network updates
909 list                      structContents           contents               //what's in this object
910 list                      structXp                 xpPoints               //experience points for interacting with this object
911                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
914 version 5
916 enum Attributes
918         AT_health
919         AT_strength
920         AT_constitution
921         AT_action
922         AT_quickness
923         AT_stamina
924         AT_mind
925         AT_focus
926         AT_willpower
929 enum MentalStates
931         MS_fear
932         MS_anger
933         MS_interest
934         // MS_contempt
935         // MS_disgust
936         MS_distress
937         // MS_joy
938         // MS_shame
939         // MS_surprise
942 enum UpdateRanges
944         UR_near
945         UR_normal
946         UR_far
949 enum MoveFlags
951         MF_gm
952         MF_player
955 enum VisibleFlags
957         VF_gm
958         VF_player
961 enum DeleteFlags
963         DF_gm
964         DF_player
967 // crafting types also defined in base_class.java
968 enum CraftingType
970         CT_weapon           = 0x00000001
971         CT_armor            = 0x00000002
972         CT_food             = 0x00000004
973         CT_clothing         = 0x00000008
974         CT_vehicle          = 0x00000010
975         CT_droid            = 0x00000020
976         CT_chemical         = 0x00000040
977         CT_plantBreeding    = 0x00000080
978         CT_animalBreeding   = 0x00000100
979         CT_furniture        = 0x00000200
980         CT_installation     = 0x00000400
981         CT_lightsaber       = 0x00000800
982         CT_genericItem      = 0x00001000
985 enum XpTypes
987         XP_rangedCombat
988         XP_meleeCombat
989         XP_tamingNoTime
990         XP_tamingShortTime
991         XP_tamingMediumTime
992         XP_tamingLargeTime
993         XP_architect
994         XP_botany
995         XP_bountyHunter
996         XP_chemist
997         XP_dancing
998         XP_facilityManagementSavings
999         XP_facilityManagementWearAndTear
1000         XP_squadLeaderNoTime
1001         XP_squadLeaderSmallTime
1002         XP_squadLeaderMediumTime
1003         XP_squadLeaderLargeTime
1004         XP_hairdressing
1005         XP_holonetSlicingPopularity
1006         XP_holonetSlicingQuantity
1007         XP_investigation
1008         XP_medic
1009         XP_military
1010         XP_mining
1011         XP_miningSavings
1012         XP_musician
1013         XP_musicanPopularity
1014         XP_politics
1015         XP_slicing
1016         XP_smuggling
1017         XP_surveyingNoMinimum
1018         XP_surveyingLowMinimum
1019         XP_surveyingMediumMinimum
1020         XP_surveyingHighMinimum
1021         XP_survivalHealing
1022         XP_survivalTracking
1023         XP_vehicularControl
1024         XP_vehicularWearAndTear
1025         XP_resourceHarvestingOrganic
1026         XP_resourceHarvestingInorganic
1027         XP_crafting
1028         XP_craftingClothing
1029         XP_craftingClothingArmor
1030         XP_craftingDroid
1031         XP_craftingFood
1032         XP_craftingMedicine
1033         XP_craftingStructure
1034         XP_craftingWeapons
1035         XP_craftingWeaponsMelee
1036         XP_craftingWeaponsRanged
1037         XP_craftingWeaponsMunition
1038         XP_industrialist
1041 enum ArmorRating
1043         AR_armorNone
1044         AR_armorLight
1045         AR_armorMedium
1046         AR_armorHeavy
1049 enum DamageType
1051         DT_kinetic
1052         DT_energy
1053         DT_blast
1054         DT_stun
1055         DT_restraint
1056         DT_elemental           for weapon-type attacks, i.e. heat from flamethrower
1057         DT_environmental       for constant weather attacks, i.e. cold on Hoth
1058         DT_ammo            the ammo for the weapon determines the damage
1061 enum ElementalDamageType
1063         EDT_heat
1064         EDT_cold
1065         EDT_acid
1066         EDT_electrical
1069 struct AttribMod
1071         id ATTS
1072         enumAttributes target      server        //which attribute is affected
1073         int            value       server        //max strength of the modifier
1074         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
1075         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
1076         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
1079 struct MentalStateMod
1081         id MESM
1082         enumMentalStates target    server       //which mental state is affected
1083         float          value       server       //max strength of the modifier
1084         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
1085         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
1086         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
1089 struct Contents
1091         id CONT
1092         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
1093         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
1094         templateobject_template             content               //the object to add
1097 struct Xp
1099         id EXPS
1100         enumXpTypes       type           //type of experience earned
1101         int               level          //difficulty level, 0 for leveless xp types
1102         int               value          //amount of experience earned
1106                           filename                 sharedTemplate         //template the client should associate with this template
1107 list                      string                   scripts                //scripts attached to the object
1108                           objvar                   objvars                //default objvars added to the object
1109                           int                      volume                 //how much room does the object take up
1110 list                      enumVisibleFlags         visibleFlags           //who can see this object
1111 list                      enumDeleteFlags          deleteFlags            //who can delete this object
1112 list                      enumMoveFlags            moveFlags              //who can move this object
1113                           bool                     invulnerable           //can this object not be destroyed/killed
1114                           float                    decay                  //the object's decay rate (0 = doesn't decay)
1115                           float                    complexity             //how hard this item is to craft (?)
1116                           int                      tintIndex              //index into client tint palette
1117 list enumListUpdateRanges float                    updateRanges           //distances for network updates
1118 list                      structContents           contents               //what's in this object
1119 list                      structXp                 xpPoints               //experience points for interacting with this object
1120                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
1123 version 6
1125 enum Attributes
1127         AT_health
1128         AT_strength
1129         AT_constitution
1130         AT_action
1131         AT_quickness
1132         AT_stamina
1133         AT_mind
1134         AT_focus
1135         AT_willpower
1138 enum MentalStates
1140         MS_fear
1141         MS_anger
1142         MS_interest
1143         // MS_contempt
1144         // MS_disgust
1145         MS_distress
1146         // MS_joy
1147         // MS_shame
1148         // MS_surprise
1151 enum UpdateRanges
1153         UR_near
1154         UR_normal
1155         UR_far
1158 enum MoveFlags
1160         MF_gm
1161         MF_player
1164 enum VisibleFlags
1166         VF_gm
1167         VF_player
1170 enum DeleteFlags
1172         DF_gm
1173         DF_player
1176 // crafting types also defined in base_class.java
1177 enum CraftingType
1179         CT_weapon           = 0x00000001
1180         CT_armor            = 0x00000002
1181         CT_food             = 0x00000004
1182         CT_clothing         = 0x00000008
1183         CT_vehicle          = 0x00000010
1184         CT_droid            = 0x00000020
1185         CT_chemical         = 0x00000040
1186         CT_plantBreeding    = 0x00000080
1187         CT_animalBreeding   = 0x00000100
1188         CT_furniture        = 0x00000200
1189         CT_installation     = 0x00000400
1190         CT_lightsaber       = 0x00000800
1191         CT_genericItem      = 0x00001000
1194 enum XpTypes
1196         XP_rangedCombat
1197         XP_meleeCombat
1198         XP_tamingNoTime
1199         XP_tamingShortTime
1200         XP_tamingMediumTime
1201         XP_tamingLargeTime
1202         XP_architect
1203         XP_botany
1204         XP_bountyHunter
1205         XP_chemist
1206         XP_dancing
1207         XP_facilityManagementSavings
1208         XP_facilityManagementWearAndTear
1209         XP_squadLeaderNoTime
1210         XP_squadLeaderSmallTime
1211         XP_squadLeaderMediumTime
1212         XP_squadLeaderLargeTime
1213         XP_hairdressing
1214         XP_holonetSlicingPopularity
1215         XP_holonetSlicingQuantity
1216         XP_investigation
1217         XP_medic
1218         XP_military
1219         XP_mining
1220         XP_miningSavings
1221         XP_musician
1222         XP_musicanPopularity
1223         XP_politics
1224         XP_slicing
1225         XP_smuggling
1226         XP_surveyingNoMinimum
1227         XP_surveyingLowMinimum
1228         XP_surveyingMediumMinimum
1229         XP_surveyingHighMinimum
1230         XP_survivalHealing
1231         XP_survivalTracking
1232         XP_vehicularControl
1233         XP_vehicularWearAndTear
1234         XP_resourceHarvestingOrganic
1235         XP_resourceHarvestingInorganic
1236         XP_crafting
1237         XP_craftingClothing
1238         XP_craftingClothingArmor
1239         XP_craftingDroid
1240         XP_craftingFood
1241         XP_craftingMedicine
1242         XP_craftingStructure
1243         XP_craftingWeapons
1244         XP_craftingWeaponsMelee
1245         XP_craftingWeaponsRanged
1246         XP_craftingWeaponsMunition
1247         XP_industrialist
1250 enum ArmorRating
1252         AR_armorNone
1253         AR_armorLight
1254         AR_armorMedium
1255         AR_armorHeavy
1258 enum DamageType
1260         DT_kinetic
1261         DT_energy
1262         DT_blast
1263         DT_stun
1264         DT_restraint
1265         DT_elemental           for weapon-type attacks, i.e. heat from flamethrower
1266         DT_environmental       for constant weather attacks, i.e. cold on Hoth
1267         DT_ammo            the ammo for the weapon determines the damage
1270 enum ElementalDamageType
1272         EDT_heat
1273         EDT_cold
1274         EDT_acid
1275         EDT_electrical
1278 struct AttribMod
1280         id ATTS
1281         enumAttributes target      server        //which attribute is affected
1282         int            value       server        //max strength of the modifier
1283         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
1284         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
1285         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
1288 struct MentalStateMod
1290         id MESM
1291         enumMentalStates target    server       //which mental state is affected
1292         float          value       server       //max strength of the modifier
1293         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
1294         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
1295         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
1298 struct Contents
1300         id CONT
1301         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
1302         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
1303         templateobject_template             content               //the object to add
1306 struct Xp
1308         id EXPS
1309         enumXpTypes       type           //type of experience earned
1310         int               level          //difficulty level, 0 for leveless xp types
1311         int               value          //amount of experience earned
1315                           filename                 sharedTemplate         //template the client should associate with this template
1316 list                      string                   scripts                //scripts attached to the object
1317                           objvar                   objvars                //default objvars added to the object
1318                           int                      volume                 //how much room does the object take up
1319 list                      enumVisibleFlags         visibleFlags           //who can see this object
1320 list                      enumDeleteFlags          deleteFlags            //who can delete this object
1321 list                      enumMoveFlags            moveFlags              //who can move this object
1322                           bool                     invulnerable           //can this object not be destroyed/killed
1323                           float                    complexity             //how hard this item is to craft (?)
1324                           int                      tintIndex              //index into client tint palette
1325 list enumListUpdateRanges float                    updateRanges           //distances for network updates
1326 list                      structContents           contents               //what's in this object
1327 list                      structXp                 xpPoints               //experience points for interacting with this object
1328                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
1332 version 7
1334 enum Attributes
1336         AT_health
1337         AT_strength
1338         AT_constitution
1339         AT_action
1340         AT_quickness
1341         AT_stamina
1342         AT_mind
1343         AT_focus
1344         AT_willpower
1347 enum MentalStates
1349         MS_fear
1350         MS_anger
1351         MS_interest
1352         // MS_contempt
1353         // MS_disgust
1354         MS_distress
1355         // MS_joy
1356         // MS_shame
1357         // MS_surprise
1360 enum UpdateRanges
1362         UR_near
1363         UR_normal
1364         UR_far
1367 enum MoveFlags
1369         MF_gm
1370         MF_player
1373 enum VisibleFlags
1375         VF_gm
1376         VF_player
1379 enum DeleteFlags
1381         DF_gm
1382         DF_player
1385 // crafting types also defined in base_class.java
1386 enum CraftingType
1388         CT_weapon           = 0x00000001
1389         CT_armor            = 0x00000002
1390         CT_food             = 0x00000004
1391         CT_clothing         = 0x00000008
1392         CT_vehicle          = 0x00000010
1393         CT_droid            = 0x00000020
1394         CT_chemical         = 0x00000040
1395         CT_plantBreeding    = 0x00000080
1396         CT_animalBreeding   = 0x00000100
1397         CT_furniture        = 0x00000200
1398         CT_installation     = 0x00000400
1399         CT_lightsaber       = 0x00000800
1400         CT_genericItem      = 0x00001000
1403 enum XpTypes
1405         XP_rangedCombat
1406         XP_meleeCombat
1407         XP_tamingNoTime
1408         XP_tamingShortTime
1409         XP_tamingMediumTime
1410         XP_tamingLargeTime
1411         XP_architect
1412         XP_botany
1413         XP_bountyHunter
1414         XP_chemist
1415         XP_dancing
1416         XP_facilityManagementSavings
1417         XP_facilityManagementWearAndTear
1418         XP_squadLeaderNoTime
1419         XP_squadLeaderSmallTime
1420         XP_squadLeaderMediumTime
1421         XP_squadLeaderLargeTime
1422         XP_hairdressing
1423         XP_holonetSlicingPopularity
1424         XP_holonetSlicingQuantity
1425         XP_investigation
1426         XP_medic
1427         XP_military
1428         XP_mining
1429         XP_miningSavings
1430         XP_musician
1431         XP_musicanPopularity
1432         XP_politics
1433         XP_slicing
1434         XP_smuggling
1435         XP_surveyingNoMinimum
1436         XP_surveyingLowMinimum
1437         XP_surveyingMediumMinimum
1438         XP_surveyingHighMinimum
1439         XP_survivalHealing
1440         XP_survivalTracking
1441         XP_vehicularControl
1442         XP_vehicularWearAndTear
1443         XP_resourceHarvestingOrganic
1444         XP_resourceHarvestingInorganic
1445         XP_crafting
1446         XP_craftingClothing
1447         XP_craftingClothingArmor
1448         XP_craftingDroid
1449         XP_craftingFood
1450         XP_craftingMedicine
1451         XP_craftingStructure
1452         XP_craftingWeapons
1453         XP_craftingWeaponsMelee
1454         XP_craftingWeaponsRanged
1455         XP_craftingWeaponsMunition
1456         XP_industrialist
1457         XP_craftingScout
1460 // ArmorRating, DamageType, and ElementalDamageType are also defined in the shared draft_schematic_object.tdf
1461 enum ArmorRating
1463         AR_armorNone
1464         AR_armorLight
1465         AR_armorMedium
1466         AR_armorHeavy
1469 // ArmorRating, DamageType, and ElementalDamageType are also defined in the shared draft_schematic_object.tdf
1470 enum DamageType
1472         DT_kinetic
1473         DT_energy
1474         DT_blast
1475         DT_stun
1476         DT_restraint
1477         DT_elemental           for weapon-type attacks, i.e. heat from flamethrower
1478         DT_environmental       for constant weather attacks, i.e. cold on Hoth
1479         DT_ammo            the ammo for the weapon determines the damage
1482 // ArmorRating, DamageType, and ElementalDamageType are also defined in the shared draft_schematic_object.tdf
1483 enum ElementalDamageType
1485         EDT_heat
1486         EDT_cold
1487         EDT_acid
1488         EDT_electrical
1491 struct AttribMod
1493         id ATTS
1494         enumAttributes target      server        //which attribute is affected
1495         int            value       server        //max strength of the modifier
1496         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
1497         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
1498         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
1501 struct MentalStateMod
1503         id MESM
1504         enumMentalStates target    server       //which mental state is affected
1505         float          value       server       //max strength of the modifier
1506         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
1507         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
1508         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
1511 struct Contents
1513         id CONT
1514         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
1515         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
1516         templateobject_template             content               //the object to add
1519 struct Xp
1521         id EXPS
1522         enumXpTypes       type           //type of experience earned
1523         int               level          //difficulty level, 0 for leveless xp types
1524         int               value          //amount of experience earned
1528                           filename                 sharedTemplate         //template the client should associate with this template
1529 list                      string                   scripts                //scripts attached to the object
1530                           objvar                   objvars                //default objvars added to the object
1531                           int                      volume                 //how much room does the object take up
1532 list                      enumVisibleFlags         visibleFlags           //who can see this object
1533 list                      enumDeleteFlags          deleteFlags            //who can delete this object
1534 list                      enumMoveFlags            moveFlags              //who can move this object
1535                           bool                     invulnerable           //can this object not be destroyed/killed
1536                           float                    complexity             //how hard this item is to craft (?)
1537                           int                      tintIndex              //index into client tint palette
1538 list enumListUpdateRanges float                    updateRanges           //distances for network updates
1539 list                      structContents           contents               //what's in this object
1540 list                      structXp                 xpPoints               //experience points for interacting with this object
1541                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
1542                                                                   bool                     persistContents        //flag that this container persists its contents
1545 version 8
1547 enum Attributes
1549         AT_health
1550         AT_strength
1551         AT_constitution
1552         AT_action
1553         AT_quickness
1554         AT_stamina
1555         AT_mind
1556         AT_focus
1557         AT_willpower
1560 enum MentalStates
1562         MS_fear
1563         MS_anger
1564         MS_interest
1565         // MS_contempt
1566         // MS_disgust
1567         MS_distress
1568         // MS_joy
1569         // MS_shame
1570         // MS_surprise
1573 enum UpdateRanges
1575         UR_near
1576         UR_normal
1577         UR_far
1580 enum MoveFlags
1582         MF_gm
1583         MF_player
1586 enum VisibleFlags
1588         VF_gm
1589         VF_player
1592 enum DeleteFlags
1594         DF_gm
1595         DF_player
1598 // crafting types also defined in base_class.java
1599 enum CraftingType
1601         CT_weapon                          = 0x00000001
1602         CT_armor                           = 0x00000002
1603         CT_food                            = 0x00000004
1604         CT_clothing                        = 0x00000008
1605         CT_vehicle                         = 0x00000010
1606         CT_droid                           = 0x00000020
1607         CT_chemical                        = 0x00000040
1608         CT_plantBreeding                   = 0x00000080
1609         CT_animalBreeding                  = 0x00000100
1610         CT_furniture                       = 0x00000200
1611         CT_installation                    = 0x00000400
1612         CT_lightsaber                      = 0x00000800
1613         CT_genericItem                     = 0x00001000
1614         CT_genetics                        = 0x00002000
1615         CT_mandalorianTailor               = 0x00004000
1616         CT_mandalorianArmorsmith           = 0x00008000
1617         CT_mandalorianDroidEngineer        = 0x00010000
1618         CT_space                           = 0x00020000
1619         CT_reverseEngineering              = 0x00040000
1620         CT_misc                            = 0x00080000
1621         CT_spaceComponent                  = 0x00100000
1622         CT_mission                         = 0x80000000
1623         // the following items are combos to allow a draft schematic template to use them
1624         CT_weaponMission                   = 0x80000001
1625         CT_armorMission                    = 0x80000002
1626         CT_foodMission                     = 0x80000004
1627         CT_clothingMission                 = 0x80000008
1628         CT_vehicleMission                  = 0x80000010
1629         CT_droidMission                    = 0x80000020
1630         CT_chemicalMission                 = 0x80000040
1631         CT_plantBreedingMission            = 0x80000080
1632         CT_animalBreedingMission           = 0x80000100
1633         CT_furnitureMission                = 0x80000200
1634         CT_installationMission             = 0x80000400
1635         CT_lightsaberMission               = 0x80000800
1636         CT_genericItemMission              = 0x80001000
1637         CT_geneticsMission                 = 0x80002000
1638         CT_mandalorianTailorMission        = 0x80004000
1639         CT_mandalorianArmorsmithMission    = 0x80008000
1640         CT_mandalorianDroidEngineerMission = 0x80010000
1641         CT_spaceMission                    = 0x80020000
1642         CT_reverseEngineeringMission       = 0x80040000
1643         CT_miscMission                     = 0x80080000
1644         CT_spaceComponentMission           = 0x80100000
1647 // NOTE: when you update this list, make sure to update the registerMe() function in ServerObjectTemplate.cpp
1648 enum XpTypes
1650         XP_rangedCombat
1651         XP_meleeCombat
1652         XP_tamingNoTime
1653         XP_tamingShortTime
1654         XP_tamingMediumTime
1655         XP_tamingLargeTime
1656         XP_architect
1657         XP_botany
1658         XP_bountyHunter
1659         XP_chemist
1660         XP_dancing
1661         XP_facilityManagementSavings
1662         XP_facilityManagementWearAndTear
1663         XP_squadLeaderNoTime
1664         XP_squadLeaderSmallTime
1665         XP_squadLeaderMediumTime
1666         XP_squadLeaderLargeTime
1667         XP_hairdressing
1668         XP_holonetSlicingPopularity
1669         XP_holonetSlicingQuantity
1670         XP_investigation
1671         XP_medic
1672         XP_military
1673         XP_mining
1674         XP_miningSavings
1675         XP_musician
1676         XP_musicanPopularity
1677         XP_politics
1678         XP_slicing
1679         XP_smuggling
1680         XP_surveyingNoMinimum
1681         XP_surveyingLowMinimum
1682         XP_surveyingMediumMinimum
1683         XP_surveyingHighMinimum
1684         XP_survivalHealing
1685         XP_survivalTracking
1686         XP_vehicularControl
1687         XP_vehicularWearAndTear
1688         XP_resourceHarvestingOrganic
1689         XP_resourceHarvestingInorganic
1690         XP_crafting
1691         XP_craftingClothing
1692         XP_craftingClothingArmor
1693         XP_craftingDroid
1694         XP_craftingFood
1695         XP_craftingMedicine
1696         XP_craftingStructure
1697         XP_craftingWeapons
1698         XP_craftingWeaponsMelee
1699         XP_craftingWeaponsRanged
1700         XP_craftingWeaponsMunition
1701         XP_industrialist
1702         XP_craftingScout
1703         XP_craftingCreature
1704         XP_craftingTissue
1705         XP_craftingCamp
1706         XP_craftingTrapping
1707         XP_craftingSpice
1708         XP_jediGeneral
1709         XP_shipwright
1710         XP_reverseEngineering
1713 // this enum is also defined in the shared draft_schematic_object_template.tdf file
1714 enum ArmorRating
1716         AR_armorNone
1717         AR_armorLight
1718         AR_armorMedium
1719         AR_armorHeavy
1722 enum ArmorLevel
1724         AL_basic
1725         AL_standard
1726         AL_advanced
1729 enum ArmorCategory
1731         AC_reconnaissance
1732         AC_battle
1733         AC_assault
1734         AC_psg             // personal shield generator
1737 // this enum is also defined in the shared draft_schematic_object_template.tdf file
1738 enum DamageType
1740         DT_kinetic                    = 0x00000001
1741         DT_energy                     = 0x00000002
1742         DT_blast                      = 0x00000004
1743         DT_stun                       = 0x00000008
1744         DT_restraint                  = 0x00000010
1745         DT_elemental_heat             = 0x00000020
1746         DT_elemental_cold             = 0x00000040
1747         DT_elemental_acid             = 0x00000080
1748         DT_elemental_electrical       = 0x00000100
1749         DT_environmental_heat         = 0x00000200
1750         DT_environmental_cold         = 0x00000400
1751         DT_environmental_acid         = 0x00000800
1752         DT_environmental_electrical   = 0x00001000
1755 struct AttribMod
1757         id ATTS
1758         enumAttributes target      server        //which attribute is affected
1759         int            value       server        //max strength of the modifier
1760         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
1761         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
1762         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
1765 struct MentalStateMod
1767         id MESM
1768         enumMentalStates target    server       //which mental state is affected
1769         float          value       server       //max strength of the modifier
1770         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
1771         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
1772         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
1775 struct Contents
1777         id CONT
1778         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
1779         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
1780         templateobject_template             content               //the object to add
1783 struct Xp
1785         id EXPS
1786         enumXpTypes       type           //type of experience earned
1787         int               level          //difficulty level, 0 for leveless xp types
1788         int               value          //amount of experience earned
1792                           filename                 sharedTemplate         //template the client should associate with this template
1793 list                      string                   scripts                //scripts attached to the object
1794                           objvar                   objvars                //default objvars added to the object
1795                           int                      volume                 //how much room does the object take up
1796 list                      enumVisibleFlags         visibleFlags           //who can see this object
1797 list                      enumDeleteFlags          deleteFlags            //who can delete this object
1798 list                      enumMoveFlags            moveFlags              //who can move this object
1799                           bool                     invulnerable           //can this object not be destroyed/killed
1800                           float                    complexity             //how hard this item is to craft (?)
1801                           int                      tintIndex              //index into client tint palette
1802 list enumListUpdateRanges float                    updateRanges           //distances for network updates
1803 list                      structContents           contents               //what's in this object
1804 list                      structXp                 xpPoints               //experience points for interacting with this object
1805                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
1806                                                                   bool                     persistContents        //flag that this container persists its contents
1808 version 9
1810 enum Attributes
1812         AT_health
1813         AT_constitution
1814         AT_action
1815         AT_stamina
1816         AT_mind
1817         AT_willpower
1820 enum MentalStates
1822         MS_fear
1823         MS_anger
1824         MS_interest
1825         // MS_contempt
1826         // MS_disgust
1827         MS_distress
1828         // MS_joy
1829         // MS_shame
1830         // MS_surprise
1833 enum UpdateRanges
1835         UR_near
1836         UR_normal
1837         UR_far
1840 enum MoveFlags
1842         MF_gm
1843         MF_player
1846 enum VisibleFlags
1848         VF_gm
1849         VF_player
1852 enum DeleteFlags
1854         DF_gm
1855         DF_player
1858 // crafting types also defined in base_class.java
1859 enum CraftingType
1861         CT_weapon                          = 0x00000001
1862         CT_armor                           = 0x00000002
1863         CT_food                            = 0x00000004
1864         CT_clothing                        = 0x00000008
1865         CT_vehicle                         = 0x00000010
1866         CT_droid                           = 0x00000020
1867         CT_chemical                        = 0x00000040
1868         CT_plantBreeding                   = 0x00000080
1869         CT_animalBreeding                  = 0x00000100
1870         CT_furniture                       = 0x00000200
1871         CT_installation                    = 0x00000400
1872         CT_lightsaber                      = 0x00000800
1873         CT_genericItem                     = 0x00001000
1874         CT_genetics                        = 0x00002000
1875         CT_mandalorianTailor               = 0x00004000
1876         CT_mandalorianArmorsmith           = 0x00008000
1877         CT_mandalorianDroidEngineer        = 0x00010000
1878         CT_space                           = 0x00020000
1879         CT_reverseEngineering              = 0x00040000
1880         CT_misc                            = 0x00080000
1881         CT_spaceComponent                  = 0x00100000
1882         CT_mission                         = 0x80000000
1883         // the following items are combos to allow a draft schematic template to use them
1884         CT_weaponMission                   = 0x80000001
1885         CT_armorMission                    = 0x80000002
1886         CT_foodMission                     = 0x80000004
1887         CT_clothingMission                 = 0x80000008
1888         CT_vehicleMission                  = 0x80000010
1889         CT_droidMission                    = 0x80000020
1890         CT_chemicalMission                 = 0x80000040
1891         CT_plantBreedingMission            = 0x80000080
1892         CT_animalBreedingMission           = 0x80000100
1893         CT_furnitureMission                = 0x80000200
1894         CT_installationMission             = 0x80000400
1895         CT_lightsaberMission               = 0x80000800
1896         CT_genericItemMission              = 0x80001000
1897         CT_geneticsMission                 = 0x80002000
1898         CT_mandalorianTailorMission        = 0x80004000
1899         CT_mandalorianArmorsmithMission    = 0x80008000
1900         CT_mandalorianDroidEngineerMission = 0x80010000
1901         CT_spaceMission                    = 0x80020000
1902         CT_reverseEngineeringMission       = 0x80040000
1903         CT_miscMission                     = 0x80080000
1904         CT_spaceComponentMission           = 0x80100000
1907 // NOTE: when you update this list, make sure to update the registerMe() function in ServerObjectTemplate.cpp
1908 enum XpTypes
1910         XP_rangedCombat
1911         XP_meleeCombat
1912         XP_tamingNoTime
1913         XP_tamingShortTime
1914         XP_tamingMediumTime
1915         XP_tamingLargeTime
1916         XP_architect
1917         XP_botany
1918         XP_bountyHunter
1919         XP_chemist
1920         XP_dancing
1921         XP_facilityManagementSavings
1922         XP_facilityManagementWearAndTear
1923         XP_squadLeaderNoTime
1924         XP_squadLeaderSmallTime
1925         XP_squadLeaderMediumTime
1926         XP_squadLeaderLargeTime
1927         XP_hairdressing
1928         XP_holonetSlicingPopularity
1929         XP_holonetSlicingQuantity
1930         XP_investigation
1931         XP_medic
1932         XP_military
1933         XP_mining
1934         XP_miningSavings
1935         XP_musician
1936         XP_musicanPopularity
1937         XP_politics
1938         XP_slicing
1939         XP_smuggling
1940         XP_surveyingNoMinimum
1941         XP_surveyingLowMinimum
1942         XP_surveyingMediumMinimum
1943         XP_surveyingHighMinimum
1944         XP_survivalHealing
1945         XP_survivalTracking
1946         XP_vehicularControl
1947         XP_vehicularWearAndTear
1948         XP_resourceHarvestingOrganic
1949         XP_resourceHarvestingInorganic
1950         XP_crafting
1951         XP_craftingClothing
1952         XP_craftingClothingArmor
1953         XP_craftingDroid
1954         XP_craftingFood
1955         XP_craftingMedicine
1956         XP_craftingStructure
1957         XP_craftingWeapons
1958         XP_craftingWeaponsMelee
1959         XP_craftingWeaponsRanged
1960         XP_craftingWeaponsMunition
1961         XP_industrialist
1962         XP_craftingScout
1963         XP_craftingCreature
1964         XP_craftingTissue
1965         XP_craftingCamp
1966         XP_craftingTrapping
1967         XP_craftingSpice
1968         XP_jediGeneral
1969         XP_shipwright
1970         XP_reverseEngineering
1973 // this enum is also defined in the shared draft_schematic_object_template.tdf file
1974 enum ArmorRating
1976         AR_armorNone
1977         AR_armorLight
1978         AR_armorMedium
1979         AR_armorHeavy
1982 enum ArmorLevel
1984         AL_basic
1985         AL_standard
1986         AL_advanced
1989 enum ArmorCategory
1991         AC_reconnaissance
1992         AC_battle
1993         AC_assault
1994         AC_psg             // personal shield generator
1997 // this enum is also defined in the shared draft_schematic_object_template.tdf file
1998 enum DamageType
2000         DT_kinetic                    = 0x00000001
2001         DT_energy                     = 0x00000002
2002         DT_blast                      = 0x00000004
2003         DT_stun                       = 0x00000008
2004         DT_restraint                  = 0x00000010
2005         DT_elemental_heat             = 0x00000020
2006         DT_elemental_cold             = 0x00000040
2007         DT_elemental_acid             = 0x00000080
2008         DT_elemental_electrical       = 0x00000100
2009         DT_environmental_heat         = 0x00000200
2010         DT_environmental_cold         = 0x00000400
2011         DT_environmental_acid         = 0x00000800
2012         DT_environmental_electrical   = 0x00001000
2015 struct AttribMod
2017         id ATTS
2018         enumAttributes target      server        //which attribute is affected
2019         int            value       server        //max strength of the modifier
2020         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
2021         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
2022         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
2025 struct MentalStateMod
2027         id MESM
2028         enumMentalStates target    server       //which mental state is affected
2029         float          value       server       //max strength of the modifier
2030         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
2031         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
2032         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
2035 struct Contents
2037         id CONT
2038         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
2039         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
2040         templateobject_template             content               //the object to add
2043 struct Xp
2045         id EXPS
2046         enumXpTypes       type           //type of experience earned
2047         int               level          //difficulty level, 0 for leveless xp types
2048         int               value          //amount of experience earned
2052                           filename                 sharedTemplate         //template the client should associate with this template
2053 list                      string                   scripts                //scripts attached to the object
2054                           objvar                   objvars                //default objvars added to the object
2055                           int                      volume                 //how much room does the object take up
2056 list                      enumVisibleFlags         visibleFlags           //who can see this object
2057 list                      enumDeleteFlags          deleteFlags            //who can delete this object
2058 list                      enumMoveFlags            moveFlags              //who can move this object
2059                           bool                     invulnerable           //can this object not be destroyed/killed
2060                           float                    complexity             //how hard this item is to craft (?)
2061                           int                      tintIndex              //index into client tint palette
2062 list enumListUpdateRanges float                    updateRanges           //distances for network updates
2063 list                      structContents           contents               //what's in this object
2064 list                      structXp                 xpPoints               //experience points for interacting with this object
2065                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
2066                                                                   bool                     persistContents        //flag that this container persists its contents
2068 version 10
2070 enum Attributes
2072         AT_health
2073         AT_constitution
2074         AT_action
2075         AT_stamina
2076         AT_mind
2077         AT_willpower
2080 enum MentalStates
2082         MS_fear
2083         MS_anger
2084         MS_interest
2085         // MS_contempt
2086         // MS_disgust
2087         MS_distress
2088         // MS_joy
2089         // MS_shame
2090         // MS_surprise
2093 enum UpdateRanges
2095         UR_near
2096         UR_normal
2097         UR_far
2100 enum MoveFlags
2102         MF_gm
2103         MF_player
2106 enum VisibleFlags
2108         VF_gm
2109         VF_player
2112 enum DeleteFlags
2114         DF_gm
2115         DF_player
2118 // crafting types also defined in base_class.java
2119 enum CraftingType
2121         CT_weapon                          = 0x00000001
2122         CT_armor                           = 0x00000002
2123         CT_food                            = 0x00000004
2124         CT_clothing                        = 0x00000008
2125         CT_vehicle                         = 0x00000010
2126         CT_droid                           = 0x00000020
2127         CT_chemical                        = 0x00000040
2128         CT_plantBreeding                   = 0x00000080
2129         CT_animalBreeding                  = 0x00000100
2130         CT_furniture                       = 0x00000200
2131         CT_installation                    = 0x00000400
2132         CT_lightsaber                      = 0x00000800
2133         CT_genericItem                     = 0x00001000
2134         CT_genetics                        = 0x00002000
2135         CT_mandalorianTailor               = 0x00004000
2136         CT_mandalorianArmorsmith           = 0x00008000
2137         CT_mandalorianDroidEngineer        = 0x00010000
2138         CT_space                           = 0x00020000
2139         CT_reverseEngineering              = 0x00040000
2140         CT_misc                            = 0x00080000
2141         CT_spaceComponent                  = 0x00100000
2142         CT_mission                         = 0x80000000
2143         // the following items are combos to allow a draft schematic template to use them
2144         CT_weaponMission                   = 0x80000001
2145         CT_armorMission                    = 0x80000002
2146         CT_foodMission                     = 0x80000004
2147         CT_clothingMission                 = 0x80000008
2148         CT_vehicleMission                  = 0x80000010
2149         CT_droidMission                    = 0x80000020
2150         CT_chemicalMission                 = 0x80000040
2151         CT_plantBreedingMission            = 0x80000080
2152         CT_animalBreedingMission           = 0x80000100
2153         CT_furnitureMission                = 0x80000200
2154         CT_installationMission             = 0x80000400
2155         CT_lightsaberMission               = 0x80000800
2156         CT_genericItemMission              = 0x80001000
2157         CT_geneticsMission                 = 0x80002000
2158         CT_mandalorianTailorMission        = 0x80004000
2159         CT_mandalorianArmorsmithMission    = 0x80008000
2160         CT_mandalorianDroidEngineerMission = 0x80010000
2161         CT_spaceMission                    = 0x80020000
2162         CT_reverseEngineeringMission       = 0x80040000
2163         CT_miscMission                     = 0x80080000
2164         CT_spaceComponentMission           = 0x80100000
2167 // NOTE: when you update this list, make sure to update the registerMe() function in ServerObjectTemplate.cpp
2168 enum XpTypes
2170         XP_rangedCombat
2171         XP_meleeCombat
2172         XP_tamingNoTime
2173         XP_tamingShortTime
2174         XP_tamingMediumTime
2175         XP_tamingLargeTime
2176         XP_architect
2177         XP_botany
2178         XP_bountyHunter
2179         XP_chemist
2180         XP_dancing
2181         XP_facilityManagementSavings
2182         XP_facilityManagementWearAndTear
2183         XP_squadLeaderNoTime
2184         XP_squadLeaderSmallTime
2185         XP_squadLeaderMediumTime
2186         XP_squadLeaderLargeTime
2187         XP_hairdressing
2188         XP_holonetSlicingPopularity
2189         XP_holonetSlicingQuantity
2190         XP_investigation
2191         XP_medic
2192         XP_military
2193         XP_mining
2194         XP_miningSavings
2195         XP_musician
2196         XP_musicanPopularity
2197         XP_politics
2198         XP_slicing
2199         XP_smuggling
2200         XP_surveyingNoMinimum
2201         XP_surveyingLowMinimum
2202         XP_surveyingMediumMinimum
2203         XP_surveyingHighMinimum
2204         XP_survivalHealing
2205         XP_survivalTracking
2206         XP_vehicularControl
2207         XP_vehicularWearAndTear
2208         XP_resourceHarvestingOrganic
2209         XP_resourceHarvestingInorganic
2210         XP_crafting
2211         XP_craftingClothing
2212         XP_craftingClothingArmor
2213         XP_craftingDroid
2214         XP_craftingFood
2215         XP_craftingMedicine
2216         XP_craftingStructure
2217         XP_craftingWeapons
2218         XP_craftingWeaponsMelee
2219         XP_craftingWeaponsRanged
2220         XP_craftingWeaponsMunition
2221         XP_industrialist
2222         XP_craftingScout
2223         XP_craftingCreature
2224         XP_craftingTissue
2225         XP_craftingCamp
2226         XP_craftingTrapping
2227         XP_craftingSpice
2228         XP_jediGeneral
2229         XP_shipwright
2230         XP_reverseEngineering
2233 // this enum is also defined in the shared draft_schematic_object_template.tdf file
2234 enum ArmorRating
2236         AR_armorNone
2237         AR_armorLight
2238         AR_armorMedium
2239         AR_armorHeavy
2242 enum ArmorLevel
2244         AL_basic
2245         AL_standard
2246         AL_advanced
2249 enum ArmorCategory
2251         AC_reconnaissance
2252         AC_battle
2253         AC_assault
2254         AC_psg             // personal shield generator
2257 // this enum is also defined in the shared draft_schematic_object_template.tdf file
2258 enum DamageType
2260         DT_none                       = 0x00000000
2261         DT_kinetic                    = 0x00000001
2262         DT_energy                     = 0x00000002
2263         DT_blast                      = 0x00000004
2264         DT_stun                       = 0x00000008
2265         DT_restraint                  = 0x00000010
2266         DT_elemental_heat             = 0x00000020
2267         DT_elemental_cold             = 0x00000040
2268         DT_elemental_acid             = 0x00000080
2269         DT_elemental_electrical       = 0x00000100
2270         DT_environmental_heat         = 0x00000200
2271         DT_environmental_cold         = 0x00000400
2272         DT_environmental_acid         = 0x00000800
2273         DT_environmental_electrical   = 0x00001000
2276 struct AttribMod
2278         id ATTS
2279         enumAttributes target      server        //which attribute is affected
2280         int            value       server        //max strength of the modifier
2281         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
2282         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
2283         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
2286 struct MentalStateMod
2288         id MESM
2289         enumMentalStates target    server       //which mental state is affected
2290         float          value       server       //max strength of the modifier
2291         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
2292         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
2293         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
2296 struct Contents
2298         id CONT
2299         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
2300         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
2301         templateobject_template             content               //the object to add
2304 struct Xp
2306         id EXPS
2307         enumXpTypes       type           //type of experience earned
2308         int               level          //difficulty level, 0 for leveless xp types
2309         int               value          //amount of experience earned
2313                           filename                 sharedTemplate         //template the client should associate with this template
2314 list                      string                   scripts                //scripts attached to the object
2315                           objvar                   objvars                //default objvars added to the object
2316                           int                      volume                 //how much room does the object take up
2317 list                      enumVisibleFlags         visibleFlags           //who can see this object
2318 list                      enumDeleteFlags          deleteFlags            //who can delete this object
2319 list                      enumMoveFlags            moveFlags              //who can move this object
2320                           bool                     invulnerable           //can this object not be destroyed/killed
2321                           float                    complexity             //how hard this item is to craft (?)
2322                           int                      tintIndex              //index into client tint palette
2323 list enumListUpdateRanges float                    updateRanges           //distances for network updates
2324 list                      structContents           contents               //what's in this object
2325 list                      structXp                 xpPoints               //experience points for interacting with this object
2326                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
2327                                                                   bool                     persistContents        //flag that this container persists its contents
2328 version 11
2330 enum Attributes
2332         AT_health
2333         AT_constitution
2334         AT_action
2335         AT_stamina
2336         AT_mind
2337         AT_willpower
2340 enum MentalStates
2342         MS_fear
2343         MS_anger
2344         MS_interest
2345         // MS_contempt
2346         // MS_disgust
2347         MS_distress
2348         // MS_joy
2349         // MS_shame
2350         // MS_surprise
2353 enum UpdateRanges
2355         UR_near
2356         UR_normal
2357         UR_far
2360 enum MoveFlags
2362         MF_gm
2363         MF_player
2366 enum VisibleFlags
2368         VF_gm
2369         VF_player
2372 enum DeleteFlags
2374         DF_gm
2375         DF_player
2378 // crafting types also defined in base_class.java
2379 enum CraftingType
2381         CT_weapon                          = 0x00000001
2382         CT_armor                           = 0x00000002
2383         CT_food                            = 0x00000004
2384         CT_clothing                        = 0x00000008
2385         CT_vehicle                         = 0x00000010
2386         CT_droid                           = 0x00000020
2387         CT_chemical                        = 0x00000040
2388         CT_plantBreeding                   = 0x00000080
2389         CT_animalBreeding                  = 0x00000100
2390         CT_furniture                       = 0x00000200
2391         CT_installation                    = 0x00000400
2392         CT_lightsaber                      = 0x00000800
2393         CT_genericItem                     = 0x00001000
2394         CT_genetics                        = 0x00002000
2395         CT_mandalorianTailor               = 0x00004000
2396         CT_mandalorianArmorsmith           = 0x00008000
2397         CT_mandalorianDroidEngineer        = 0x00010000
2398         CT_space                           = 0x00020000
2399         CT_reverseEngineering              = 0x00040000
2400         CT_misc                            = 0x00080000
2401         CT_spaceComponent                  = 0x00100000
2402         CT_mission                         = 0x80000000
2403         // the following items are combos to allow a draft schematic template to use them
2404         CT_weaponMission                   = 0x80000001
2405         CT_armorMission                    = 0x80000002
2406         CT_foodMission                     = 0x80000004
2407         CT_clothingMission                 = 0x80000008
2408         CT_vehicleMission                  = 0x80000010
2409         CT_droidMission                    = 0x80000020
2410         CT_chemicalMission                 = 0x80000040
2411         CT_plantBreedingMission            = 0x80000080
2412         CT_animalBreedingMission           = 0x80000100
2413         CT_furnitureMission                = 0x80000200
2414         CT_installationMission             = 0x80000400
2415         CT_lightsaberMission               = 0x80000800
2416         CT_genericItemMission              = 0x80001000
2417         CT_geneticsMission                 = 0x80002000
2418         CT_mandalorianTailorMission        = 0x80004000
2419         CT_mandalorianArmorsmithMission    = 0x80008000
2420         CT_mandalorianDroidEngineerMission = 0x80010000
2421         CT_spaceMission                    = 0x80020000
2422         CT_reverseEngineeringMission       = 0x80040000
2423         CT_miscMission                     = 0x80080000
2424         CT_spaceComponentMission           = 0x80100000
2427 // NOTE: when you update this list, make sure to update the registerMe() function in ServerObjectTemplate.cpp
2428 enum XpTypes
2430         XP_rangedCombat
2431         XP_meleeCombat
2432         XP_tamingNoTime
2433         XP_tamingShortTime
2434         XP_tamingMediumTime
2435         XP_tamingLargeTime
2436         XP_architect
2437         XP_botany
2438         XP_bountyHunter
2439         XP_chemist
2440         XP_dancing
2441         XP_facilityManagementSavings
2442         XP_facilityManagementWearAndTear
2443         XP_squadLeaderNoTime
2444         XP_squadLeaderSmallTime
2445         XP_squadLeaderMediumTime
2446         XP_squadLeaderLargeTime
2447         XP_hairdressing
2448         XP_holonetSlicingPopularity
2449         XP_holonetSlicingQuantity
2450         XP_investigation
2451         XP_medic
2452         XP_military
2453         XP_mining
2454         XP_miningSavings
2455         XP_musician
2456         XP_musicanPopularity
2457         XP_politics
2458         XP_slicing
2459         XP_smuggling
2460         XP_surveyingNoMinimum
2461         XP_surveyingLowMinimum
2462         XP_surveyingMediumMinimum
2463         XP_surveyingHighMinimum
2464         XP_survivalHealing
2465         XP_survivalTracking
2466         XP_vehicularControl
2467         XP_vehicularWearAndTear
2468         XP_resourceHarvestingOrganic
2469         XP_resourceHarvestingInorganic
2470         XP_crafting
2471         XP_craftingClothing
2472         XP_craftingClothingArmor
2473         XP_craftingDroid
2474         XP_craftingFood
2475         XP_craftingMedicine
2476         XP_craftingStructure
2477         XP_craftingWeapons
2478         XP_craftingWeaponsMelee
2479         XP_craftingWeaponsRanged
2480         XP_craftingWeaponsMunition
2481         XP_industrialist
2482         XP_craftingScout
2483         XP_craftingCreature
2484         XP_craftingTissue
2485         XP_craftingCamp
2486         XP_craftingTrapping
2487         XP_craftingSpice
2488         XP_jediGeneral
2489         XP_shipwright
2490         XP_reverseEngineering
2493 // this enum is also defined in the shared draft_schematic_object_template.tdf file
2494 enum ArmorRating
2496         AR_armorNone
2497         AR_armorLight
2498         AR_armorMedium
2499         AR_armorHeavy
2502 enum ArmorLevel
2504         AL_basic
2505         AL_standard
2506         AL_advanced
2509 enum ArmorCategory
2511         AC_reconnaissance
2512         AC_battle
2513         AC_assault
2514         AC_psg             // personal shield generator
2517 // this enum is also defined in the shared draft_schematic_object_template.tdf file
2518 enum DamageType
2520         DT_none                       = 0x00000000
2521         DT_kinetic                    = 0x00000001
2522         DT_energy                     = 0x00000002
2523         DT_blast                      = 0x00000004
2524         DT_stun                       = 0x00000008
2525         DT_restraint                  = 0x00000010
2526         DT_elemental_heat             = 0x00000020
2527         DT_elemental_cold             = 0x00000040
2528         DT_elemental_acid             = 0x00000080
2529         DT_elemental_electrical       = 0x00000100
2530         DT_environmental_heat         = 0x00000200
2531         DT_environmental_cold         = 0x00000400
2532         DT_environmental_acid         = 0x00000800
2533         DT_environmental_electrical   = 0x00001000
2536 struct AttribMod
2538         id ATTS
2539         enumAttributes target      server        //which attribute is affected
2540         int            value       server        //max strength of the modifier
2541         float          time        server        //how long it takes for the modifier to reach full strength (in secs)
2542         float          timeAtValue server        //how long the modifier remains at full strength (in secs)
2543         float          decay       server        //how long it takes for the modifier to go from full strength to 0 (in secs)
2546 struct MentalStateMod
2548         id MESM
2549         enumMentalStates target    server       //which mental state is affected
2550         float          value       server       //max strength of the modifier
2551         float          time        server       //how long it takes for the modifier to reach full strength (in secs)
2552         float          timeAtValue server       //how long the modifier remains at full strength (in secs)
2553         float          decay       server       //how long it takes for the modifier to go from full strength to 0 (in secs)
2556 struct Contents
2558         id CONT
2559         string                              slotName              //slot name, as defined in the object's slotDescriptorFilename
2560         bool                                equipObject           //flag to put the contents in the slot, as opposed to adding it to the container in the slot
2561         templateobject_template             content               //the object to add
2564 struct Xp
2566         id EXPS
2567         enumXpTypes       type           //type of experience earned
2568         int               level          //difficulty level, 0 for leveless xp types
2569         int               value          //amount of experience earned
2573                           filename                 sharedTemplate         //template the client should associate with this template
2574 list                      string                   scripts                //scripts attached to the object
2575                           objvar                   objvars                //default objvars added to the object
2576                           int                      volume                 //how much room does the object take up
2577 list                      enumVisibleFlags         visibleFlags           //who can see this object
2578 list                      enumDeleteFlags          deleteFlags            //who can delete this object
2579 list                      enumMoveFlags            moveFlags              //who can move this object
2580                           bool                     invulnerable           //can this object not be destroyed/killed
2581                           float                    complexity             //how hard this item is to craft (?)
2582                           int                      tintIndex              //index into client tint palette
2583 list enumListUpdateRanges float                    updateRanges           //distances for network updates
2584 list                      structContents           contents               //what's in this object
2585 list                      structXp                 xpPoints               //experience points for interacting with this object
2586                                                                   bool                     persistByDefault       //flag to automatically persist this object on creation
2587                                                                   bool                     persistContents        //flag that this container persists its contents