@:value({ onlyDescription : false, i : 0 })new (i:Int = 0, onlyDescription:Bool = false)
@:value(false)apocalypseTrigger:Bool = false
N/A
@:value(-1)backFootIndex:Int = -1
Index of back foot for object
@:value([0])biomes:Array<Int> = [0]
@:value(false)blocksWalking:Bool = false
Boolean if object blocks walking
@:value(-1)bodyIndex:Int = -1
Index of body for object
@:value(-1)cacheHeight:Int = -1
Cached height of object
@:value("n")clothing:String = "n"
@:value(new Point())clothingOffset:Point = new Point()
Offset of object when worn
@:value(0.000000)containSize:Float = 0.000000
@:value(false)containable:Bool = false
Whether an object is containable
@:value(false)creationSoundForce:Bool = false
@:value(false)creationSoundInitialOnly:Bool = false
@:value(0)deadlyDistance:Int = 0
Deadly distance in tiles
@:value(0)deathMarker:Int = 0
@:value("")description:String = ""
Description of object
@:value(false)drawBehindPlayer:Bool = false
If Object is drawn
@:value(false)dummy:Bool = false
dummy bool for generated object
@:value(0)dummyParent:Int = 0
dummy parent id
@:value(-1)eyesIndex:Int = -1
Generated index from sprite name of eye index
@:value(null)eyesOffset:Point = null
Generated index from sprites of eye index
@:value(false)floor:Bool = false
If object is floor
@:value(false)floorHugging:Bool = false
@:value(0)foodValue:Int = 0
Increase value to player's food if object is eaten
@:value(-1)frontFootIndex:Int = -1
Index of front foot for object
@:value(-1)headIndex:Int = -1
Index of head for object
@:value(0)heatValue:Int = 0
Heat value of object
@:value(false)heldInHand:Bool = false
Is held in hand boolean, hide closest arm
heldOffset:Point
Position offset of object when held
@:value(0)homeMarker:Int = 0
@:value(0)id:Int = 0
Id of object
@:value(0)leftBlockingRadius:Int = 0
@:value(false)male:Bool = false
If person object is male
@:value(0.000000)mapChance:Float = 0.000000
Chance of object to appear
@:value(0)minPickupAge:Int = 0
Min age to be able to pick up object
@:value(false)monumentCall:Bool = false
@:value(false)monumentDone:Bool = false
@:value(false)monumentStep:Bool = false
@:value(-1)mouthIndex:Int = -1
Generated index from sprite of mouth index
@:value(false)neverDrop:Bool = false
weapon can not be dropped
@:value(false)noBackAcess:Bool = false
@:value(false)noFlip:Bool = false
@:value(false)noSpawn:Bool = false
@:value(0)numSlots:Int = 0
Num of slots in object
@:value(0)numSprites:Int = 0
Number of sprites in object
@:value(0)numUses:Int = 0
Number of uses for object
@:value(0)permanent:Int = 0
@:value(0)person:Int = 0
If person
@:value(0.000000)rValue:Float = 0.000000
@:value(false)rideable:Bool = false
Rideable boolean
@:value(0)rightBlockingRadius:Int = 0
@:value(false)sideAcess:Bool = false
slotParent:Vector<Int>
slotPos:Vector<Point>
postion of slots
@:value(1)slotSize:Float = 1
slotVert:Vector<Bool>
@:value(1)slotsLocked:Int = 1
sounds:Vector<SoundData>
Sound array for objects
@:value(1.000000)speedMult:Float = 1.000000
Multiply speed of player if held
spriteArray:Vector<SpriteData>
Array of sprite data
@:value(1.000000)timeStretch:Float = 1.000000
@:value(false)toolLearned:Bool = false
@:value(0)toolSetIndex:Int = 0
useAppearIndex:Array<Int>
Appear index array
@:value(0)useChance:Float = 0
Number of chances for object
@:value(1)useDistance:Int = 1
Use distance in tiles
useVanishIndex:Array<Int>
Vanish index array
@:value(0.000000)vertSlotRot:Float = 0.000000
rotation of slots
clone ():ObjectData
clone data
getSpriteData ():Void
inlineisNatural ():Bool
read ():Void
Read data to set
toFileString ():String
@:value(6)staticinlineread onlyCLOTHING_PIECES:Int = 6
Max clothing pieces
@:value([])statictoolsetRecord:Array<ToolSetRecord> = []
Toolset record set
getArrayInt ():Array<Int>
Multi property array int value from line
Returns:
Array
getBool ():Bool
Boolean value from line
Bool
getFloat ():Float
Float value from line
Float
getFloatArray ():Array<Float>
Float Array value from line
getInt ():Int
Int from string
Int
getIntArray ():Array<Int>
Int Array value from line
getName ():String
getPoint ():Point
Point (x,y) from line
Point
getString ():String
String value from line
String
getStringArray ():Array<String>
String Array value from line
readLines (string:String):Bool
Read lines and put into line vector
Parameters:
string
text split into lines
readName (name:String):Bool
Name from line
name