Additional Prop Details

From wiki
Jump to: navigation, search

{
 "__inherits"://
 "code": // code for the prop, defaults based on filename
 "painter": // the painter code used to draw this prop and do clientside logic
 "driver": // the driver code used to run the prop and do serverside logic

// wire prop specifics
   "wireInputs": // number of inputs, between 0 to 15 inclusive
   "wireOutputs" // number of outputs, between 0 to 15 inclusive
   "propEntityPainter": // the painter code used to draw this prop and do clientside logic
   "propEntityDriver": // the driver code used to run the prop and do serverside logic

  "drawable": // defaults to Code of the prop, code of the drawable used to draw this prop
  "drawables": [] // list of codes of drawables used with more advanced, perhaps animated, painters

  "flipActiveDrawable": default false // used by WiredPropEntityPainter and flips if the wire state shows either 'drawable' or 'drawables[0]'
  "hasCollisionOverride": // 
  "hasPhysicsCollision": //

  "damageSensitivities": [
    {
      "kind": [ "DamageDefintion", ]
      "filter": "FilterKind",
      "reduction": 0.0,
      "weakness": 0.0,
      "resistance": 0.0,
    }
   ],

   "paletteOriginal": // do not use

   "palettePool": //

  "palette": //

  "emitPalette": //
  "emitPaletteLayer": //
  "lightEmitters": [
     {
       "emitPalette": //
       "baseLight" : 0.1,
       "strength" : 0.15,
       "range" : 6.0,
       "emitPaletteLight": 
       "lightOffset": // optional, subvoxel offset Vec3F
     }
  ]
  "emittedSunLight":// 
  "emittedTileLightPaletteIndex"://
  "emittedTileLight"
}