FILES ----- assetmissing.wav dungeon_worlds.config instance_worlds.config behaviors\monsters\boss\spiderboss\acidspray.behavior behaviors\monsters\boss\spiderboss\hatch.behavior behaviors\monsters\boss\spiderboss\hurt.behavior behaviors\monsters\boss\spiderboss\main.behavior behaviors\monsters\boss\spiderboss\return.behavior [NEW] behaviors\monsters\boss\spiderboss\setstage.behavior behaviors\monsters\boss\spiderboss\slam.behavior [NEW] behaviors\monsters\boss\spiderboss\sweep.behavior [NEW] behaviors\monsters\unique\ixoling.behavior [NEW] biomes\surface\oceanmission.biome [NEW] interface\merchant\amount.png [NEW] interface\merchant\button.png [NEW] interface\merchant\buttonover.png [NEW] interface\merchant\craftablebackground.png [NEW] interface\merchant\craftablebackground2.png [NEW] interface\merchant\craftableselected.png [NEW] interface\merchant\craftableselected2.png [NEW] interface\merchant\craftingfooter.png [NEW] interface\merchant\craftingheader.png [NEW] interface\merchant\merchantbody.png [NEW] interface\merchant\pickleft.png [NEW] interface\merchant\pickleftover.png [NEW] interface\merchant\pickright.png [NEW] interface\merchant\pickrightover.png [NEW] interface\merchant\pixels.png [NEW] interface\merchant\scroller.png [NEW] interface\merchant\sellbody.png [NEW] interface\merchant\shine.png [NEW] interface\merchant\tabbase.png [NEW] interface\merchant\tabover.png [NEW] interface\merchant\tabselected.png [NEW] interface\merchant\tabselectedover.png [NEW] interface\merchant\x.png [NEW] interface\merchant\xpress.png monsters\bmonster.lua [NEW] monsters\grumblestate.lua [NEW] monsters\returnhomestate.lua [NEW] monsters\tenant.lua monsters\boss\spiderboss\spiderboss.animation monsters\boss\spiderboss\spiderboss_body.frames monsters\boss\spiderboss\spiderboss_body.png monsters\boss\spiderboss\spiderboss_legs.frames monsters\boss\spiderboss\spiderboss_legs.png monsters\ground\groundmonster.lua monsters\ground\largequadruped\largequadruped.monstertype monsters\ground\smallquadruped\smallquadruped.monstertype monsters\pets\groundpet.lua monsters\pets\piglett\piglett.monstertype monsters\skills\ranged\iceblastattack.monsterskill monsters\skills\ranged\leafygustattack.monsterskill monsters\skills\ranged\mudballattack.monsterskill monsters\skills\ranged\snotbubbleattack.monsterskill [NEW] monsters\unique\ixoling\ixoling.animation [NEW] monsters\unique\ixoling\ixoling.monstertype [NEW] monsters\unique\ixoling\body\body.frames [NEW] monsters\unique\ixoling\body\body.monsterpart [NEW] monsters\unique\ixoling\body\body.png npcs\chefmerchant.npctype [NEW] objects\avian\airbooster\airbooster.frames [NEW] objects\avian\airbooster\airbooster.object [NEW] objects\avian\airbooster\airbooster.png [NEW] objects\avian\airbooster\airboosterceiling.frames [NEW] objects\avian\airbooster\airboosterceiling.png [NEW] objects\avian\airbooster\airboostericon.png [NEW] objects\avian\airbooster\airboosterleft.frames [NEW] objects\avian\airbooster\airboosterleft.png [NEW] objects\avian\airbooster\airboosterright.frames [NEW] objects\avian\airbooster\airboosterright.png [NEW] objects\avian\airemblem\airemblem.frames [NEW] objects\avian\airemblem\airemblem.object [NEW] objects\avian\airemblem\airemblem.png [NEW] objects\avian\airemblem\airemblemicon.png objects\colony\colonydeed\colonydeed.animation objects\colony\colonydeed\colonydeed.frames objects\colony\colonydeed\colonydeed.lua objects\colony\colonydeed\colonydeed.object objects\colony\colonydeed\colonydeed.png objects\colony\colonydeed\colonydeedicon.png objects\mission\treeprop1\treeprop1.png objects\mission\treeprop2\treeprop2.png objects\mission\treeprop3\treeprop3.png objects\wired\drain\drain.lua [NEW] objects\wired\forcepad\forcepad.animation [NEW] objects\wired\forcepad\forcepad.lua [NEW] objects\wired\forcepad\jumppad.frames [NEW] objects\wired\forcepad\jumppad.object [NEW] objects\wired\forcepad\jumppad.png [NEW] objects\wired\forcepad\jumppadicon.png [NEW] parallax\surface\oceanmission.parallax projectiles\npcs\icebreath\icebreath.projectile projectiles\npcs\icecloud\icecloud.projectile projectiles\npcs\mudball\mudball.projectile projectiles\npcs\razorleaf\leafgust.projectile projectiles\npcs\razorleaf\razorleaf.projectile projectiles\npcs\snotbubble\snotbubblefloat.projectile projectiles\npcs\snotbubble\snotbubblepop.projectile [NEW] projectiles\traps\lowgravgas\icon.png [NEW] projectiles\traps\lowgravgas\lowgravgas.frames [NEW] projectiles\traps\lowgravgas\lowgravgas.png [NEW] projectiles\traps\lowgravgas\lowgravgas.projectile scripts\behavior.lua scripts\actions\entities.lua scripts\actions\movement.lua scripts\actions\sensor.lua scripts\actions\time.lua [NEW] sfx\objects\airbooster_loop.wav [NEW] sfx\objects\airbooster_off.wav [NEW] tenants\chefmerchantwithpig.tenant [NEW] tenants\chefmerchantwithquadruped.tenant [NEW] tenants\florancouple.tenant treasure\biome.treasurepools treasure\common.treasurepools DIFFS ----- dungeon_worlds.config 31c31 < "biome" : "ocean", --- > "biome" : "oceanmission", instance_worlds.config 400a401,413 > "skyColoring" : { > "mainColor" : [185, 228, 255], > > "morningColors" : [[220, 240, 255], [220, 240, 255]], > "dayColors" : [[220, 240, 255], [220, 240, 255]], > "eveningColors" : [[220, 240, 255], [220, 240, 255]], > "nightColors" : [[220, 240, 255], [220, 240, 255]], > > "morningLightColor" : [220, 240, 255], > "dayLightColor" : [220, 240, 255], > "eveningLightColor" : [220, 240, 255], > "nightLightColor" : [220, 240, 255] > }, behaviors\monsters\boss\spiderboss\acidspray.behavior 22,27c22,52 < "title": "setDirection", < "type": "action", < "name": "setDirection", < "parameters": { < "toDirection": "toSide" < } --- > "title": "selector", > "type": "composite", > "name": "selector", > "parameters": {}, > "children": [ > { > "title": "reverseDirection", > "type": "action", > "name": "reverseDirection", > "parameters": { > "direction": "spitSide", > "toDirection": "spitSide" > } > }, > { > "title": "sequence", > "type": "composite", > "name": "sequence", > "parameters": {}, > "children": [ > { > "title": "setDirection", > "type": "action", > "name": "setDirection", > "parameters": { > "toDirection": "spitSide" > } > } > ] > } > ] 34,35c59,61 < "number": "toSide", < "factor": 20 --- > "number": "spitSide", > "factor": 20, > "toNumber": "spitX" 45c71 < "x": "toSide", --- > "x": "spitX", 54,62d79 < "type": "legs", < "state": "walk" < } < }, < { < "title": "setAnimationState", < "type": "action", < "name": "setAnimationState", < "parameters": { 76a94,102 > "title": "setAnimationState", > "type": "action", > "name": "setAnimationState", > "parameters": { > "type": "legs", > "state": "strafe" > } > }, > { 85a112,120 > "title": "setAnimationState", > "type": "action", > "name": "setAnimationState", > "parameters": { > "type": "legs", > "state": "walk" > } > }, > { 99c134 < "state": "hurt" --- > "state": "strafe" behaviors\monsters\boss\spiderboss\hatch.behavior 55c55 < "monsterType": "glitchspider" --- > "monsterType": "ixoling" behaviors\monsters\boss\spiderboss\hurt.behavior 19c19,21 < "parameters": {}, --- > "parameters": { > "success": 2 > }, 164a167,181 > }, > { > "title": "inverter", > "type": "decorator", > "name": "inverter", > "parameters": {}, > "child": { > "title": "resourcePercentage", > "type": "action", > "name": "resourcePercentage", > "parameters": { > "resource": "health", > "percentage": "" > } > } behaviors\monsters\boss\spiderboss\main.behavior 97,100c97,114 < "type": "module", < "path": "/behaviors/monsters/boss/spiderboss/slam.behavior", < "title": "Slam", < "parameters": {} --- > "title": "sequence", > "type": "composite", > "name": "sequence", > "parameters": {}, > "children": [ > { > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/slam.behavior", > "title": "Slam", > "parameters": {} > }, > { > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/acidspray.behavior", > "title": "Acid Spray", > "parameters": {} > } > ] 123,125c137,139 < "title": "parallel", < "type": "composite", < "name": "parallel", --- > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/hurt.behavior", > "title": "Hurt", 127,151c141,142 < "success": 1 < }, < "children": [ < { < "type": "module", < "path": "/behaviors/monsters/boss/spiderboss/hurt.behavior", < "title": "Hurt", < "parameters": {} < }, < { < "title": "inverter", < "type": "decorator", < "name": "inverter", < "parameters": {}, < "child": { < "title": "resourcePercentage", < "type": "action", < "name": "resourcePercentage", < "parameters": { < "resource": "health", < "percentage": 0.65 < } < } < } < ] --- > "minHealth": 0.65 > } 168,197c159,161 < "title": "setParticleEmitterActive", < "type": "action", < "name": "setParticleEmitterActive", < "parameters": { < "emitter": "slide", < "active": false < } < }, < { < "title": "setAnimationState", < "type": "action", < "name": "setAnimationState", < "parameters": { < "type": "sliding", < "state": "off" < } < }, < { < "title": "setAnimationState", < "type": "action", < "name": "setAnimationState", < "parameters": { < "type": "shell", < "state": "stage2" < } < }, < { < "title": "setResourcePercentage", < "type": "action", < "name": "setResourcePercentage", --- > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/setstage.behavior", > "title": "Set stage", 199,200c163,164 < "resource": "health", < "percentage": 0.65 --- > "setHealth": 0.65, > "shellState": "stage2" 204,209d167 < "type": "module", < "path": "/behaviors/monsters/boss/spiderboss/return.behavior", < "title": "Return to spawna", < "parameters": {} < }, < { 230a189,194 > }, > { > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/sweep.behavior", > "title": "Spiderboss Sweep", > "parameters": {} 255,257c219,221 < "title": "parallel", < "type": "composite", < "name": "parallel", --- > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/hurt.behavior", > "title": "Hurt", 259,283c223,224 < "success": 1 < }, < "children": [ < { < "type": "module", < "path": "/behaviors/monsters/boss/spiderboss/hurt.behavior", < "title": "Hurt", < "parameters": {} < }, < { < "title": "inverter", < "type": "decorator", < "name": "inverter", < "parameters": {}, < "child": { < "title": "resourcePercentage", < "type": "action", < "name": "resourcePercentage", < "parameters": { < "resource": "health", < "percentage": 0.25 < } < } < } < ] --- > "minHealth": 0.25 > } 300,329c241,243 < "title": "setParticleEmitterActive", < "type": "action", < "name": "setParticleEmitterActive", < "parameters": { < "emitter": "slide", < "active": false < } < }, < { < "title": "setAnimationState", < "type": "action", < "name": "setAnimationState", < "parameters": { < "type": "sliding", < "state": "off" < } < }, < { < "title": "setAnimationState", < "type": "action", < "name": "setAnimationState", < "parameters": { < "type": "shell", < "state": "stage3" < } < }, < { < "title": "setResourcePercentage", < "type": "action", < "name": "setResourcePercentage", --- > "type": "module", > "path": "/behaviors/monsters/boss/spiderboss/setstage.behavior", > "title": "Set stage", 331,332c245,246 < "resource": "health", < "percentage": 0.25 --- > "setHealth": 0.25, > "shellState": "stage3" 336,341d249 < "type": "module", < "path": "/behaviors/monsters/boss/spiderboss/return.behavior", < "title": "Return to spawn", < "parameters": {} < }, < { 448c356,358 < "parameters": {} --- > "parameters": { > "minHealth": 0 > } behaviors\monsters\boss\spiderboss\return.behavior 21a22,32 > "title": "setVelocity", > "type": "action", > "name": "setVelocity", > "parameters": { > "velocity": [ > 0, > 0 > ] > } > }, > { 57c68 < "state": "hurt" --- > "state": "strafe" 107c118 < "state": "hurt" --- > "state": "strafe" behaviors\monsters\boss\spiderboss\slam.behavior 12a13,21 > "title": "setAnimationState", > "type": "action", > "name": "setAnimationState", > "parameters": { > "type": "legs", > "state": "strafe" > } > }, > { 76c85 < "state": "hurt" --- > "state": "strafe" 152a162,170 > "title": "setAnimationState", > "type": "action", > "name": "setAnimationState", > "parameters": { > "type": "legs", > "state": "idle" > } > }, > { 260c278 < -15 --- > -17.5 monsters\bmonster.lua 7a8 > world.logInfo("%s", entity.configParameter("scripts")) monsters\boss\spiderboss\spiderboss.animation 9,12c9,11 < "frames" : 1 < }, < "die" : { < "frames" : 1 --- > "frames" : 2, > "cycle" : 0.25, > "mode" : "loop" 59a59,63 > "hurt" : { > "frames" : 12, > "cycle" : 0.25, > "mode" : "loop" > }, 66c70 < "hurt" : { --- > "strafe" : { 68c72 < "cycle" : 0.25, --- > "cycle" : 0.75, 148c152 < "hurt" : { --- > "slam" : { 150c154 < "image" : ":hurt." --- > "image" : ":slam." 153c157 < "slam" : { --- > "hurt" : { 155c159 < "image" : ":slam." --- > "image" : ":hurt." 163c167 < "image" : ":idle." --- > "image" : "/monsters/boss/spiderboss/spiderbossicon.png" 208,212c212,213 < } < }, < < "portrait" : { < "portrait" : { --- > }, > "strafe" : { 214c215 < "image" : ":idle." --- > "image" : ":strafe." 248,255d248 < } < } < }, < < "portrait" : { < "portrait" : { < "properties" : { < "image" : ":stage1." monsters\boss\spiderboss\spiderboss_body.frames 7c7 < [ null, "cocoon.1", "die.1"], --- > [ null, "cocoon.1", "cocoon.2"], monsters\boss\spiderboss\spiderboss_legs.frames 4c4 < "dimensions" : [13, 6], --- > "dimensions" : [13, 7], 12c12,13 < [ null, "hurt.1", "hurt.2", "hurt.3", "hurt.4", "hurt.5", "hurt.6", "hurt.7", "hurt.8", "hurt.9", "hurt.10", "hurt.11", "hurt.12"] --- > [ null, "hurt.1", "hurt.2", "hurt.3", "hurt.4", "hurt.5", "hurt.6", "hurt.7", "hurt.8", "hurt.9", "hurt.10", "hurt.11", "hurt.12"], > [ null, "strafe.1", "strafe.2", "strafe.3", "strafe.4", "strafe.5", "strafe.6", "strafe.7", "strafe.8", "strafe.9", "strafe.10", "strafe.11", "strafe.12"] monsters\ground\groundmonster.lua 129a130,135 > ------------------------------------------------------------------------------- > -- react to a notification from another entity > function receiveNotification(notification) > return self.state.pickState({ notification = notification }) > end > 771c777 < end \ No newline at end of file --- > end monsters\ground\largequadruped\largequadruped.monstertype 76c76 < "specialSkills" : [ "iceBlastAttack" ] --- > "specialSkills" : [ "mudBallAttack" ] 82c82 < "specialSkills" : [ "shockingWaveAttack", "staticDischargeAttack", "bubbleBlastAttack", "waterGunAttack", "burninghaloAttack", "gasBelchAttack", "rainbowVomitAttack", "shockingBoltAttack", "plasmaTorpedoAttack", "eyeballSprayAttack", "bloodVomitAttack", "acidicSpitAttack", "fireballAttack", "icerockShotAttack", "doubleBarbSprayAttack", "miniDragonBreathAttack", "acidSprayAttack", "beamBurstAttack", "plasmaSweepAttack", "eyeballShotAttack", "glitterAttack", "darkGravityBallAttack", "fireSwirlAttack", "rockRollAttack" ] --- > "specialSkills" : [ "shockingWaveAttack", "staticDischargeAttack", "bubbleBlastAttack", "waterGunAttack", "burninghaloAttack", "gasBelchAttack", "rainbowVomitAttack", "shockingBoltAttack", "plasmaTorpedoAttack", "eyeballSprayAttack", "bloodVomitAttack", "acidicSpitAttack", "fireballAttack", "icerockShotAttack", "doubleBarbSprayAttack", "miniDragonBreathAttack", "acidSprayAttack", "beamBurstAttack", "plasmaSweepAttack", "eyeballShotAttack", "glitterAttack", "darkGravityBallAttack", "fireSwirlAttack", "rockRollAttack", "iceBlastAttack", "snotBubbleAttack", "leafyGustAttack" ] monsters\ground\smallquadruped\smallquadruped.monstertype 15a16 > "/monsters/tenant.lua", 19a21,22 > "/monsters/returnHomeState.lua", > "/monsters/grumbleState.lua", 45a49,52 > > "tenant" : { > "emoteCooldownTimeRange" : [1.0, 2.0] > }, monsters\pets\groundpet.lua 64a65,67 > function receiveNotification(notification) > return self.state.pickState({ notification = notification }) > end 134a138 > util.debugLog("Found " .. objectId .. " " .. world.entityName(objectId)) 142c146,151 < status.setResource("health", 0) --- > if not storage.home then > status.setResource("health", 0) > else > -- Pet spawned by a colony deed -- allow the pet to continue living until > -- tenant.despawn kills it. > end monsters\pets\piglett\piglett.monstertype 17a18 > "/monsters/tenant.lua", 21a23,24 > "/monsters/returnHomeState.lua", > "/monsters/grumbleState.lua", 87a91,94 > }, > > "tenant" : { > "emoteCooldownTimeRange" : [1.0, 2.0] monsters\skills\ranged\iceblastattack.monsterskill 4c4 < "image" : "/monsters/flying/skills/default.png", --- > "image" : "/monsters/skills/defaultice.png", 14c14,17 < "fireInterval" : 0.15 --- > "fireInterval" : 0.15, > "castTime" : 0.8, > "castEffect" : "castice", > "castAnimation" : "melee" monsters\skills\ranged\leafygustattack.monsterskill 4c4 < "image" : "/monsters/flying/skills/default.png", --- > "image" : "/monsters/skills/defaultpoison.png", 16c16,19 < "winddownTime" : 0.2 --- > "winddownTime" : 0.2, > "castTime" : 0.8, > "castEffect" : "castpoison", > "castAnimation" : "melee" monsters\skills\ranged\mudballattack.monsterskill 3,4c3,4 < "label" : "MUD SHOT", < "image" : "/monsters/flying/skills/default.png", --- > "label" : "PUTRID PELT", > "image" : "/monsters/skills/defaultpoison.png", 15c15,18 < "cooldownTime" : 3 --- > "cooldownTime" : 3, > "castTime" : 0.8, > "castEffect" : "castpoison", > "castAnimation" : "melee" monsters\skills\ranged\snotbubbleattack.monsterskill 4c4 < "image" : "/monsters/flying/skills/default.png", --- > "image" : "/monsters/skills/defaultpoison.png", 16c16,19 < "winddownTime" : 1.5 --- > "winddownTime" : 1.5, > "castTime" : 0.8, > "castEffect" : "castpoison", > "castAnimation" : "melee" npcs\chefmerchant.npctype 13a14 > "/npcs/tenant.lua", 19a21,22 > "/npcs/returnHomeState.lua", > "/npcs/grumbleState.lua", 149a153,191 > }, > > "tenant" : { > "emoteCooldownTimeRange" : [1.0, 2.0], > "complaintCooldownTimeRange" : [5.0, 10.0], > "severeComplaintTime" : 25.0, > "finalComplaintTime" : 35.0, > > "dialog" : { > "grumbles" : { > "tagCriteria" : { > "default" : [ > "This place doesn't feel much like home anymore." > ] > }, > "enclosedArea" : { > "default" : [ > "My home could use some repairs!" > ] > }, > "otherDeed" : { > "default" : [ > "I thought this place was for me..." > ] > }, > "severe" : { > "default" : [ > "I should write to my landlord...", > "I can't live in these conditions!" > ] > }, > "final" : { > "default" : [ > "This is the final straw!", > "I've had enough of this!" > ] > } > } > } objects\colony\colonydeed\colonydeed.animation 9c9 < "cycle" : 0.5, --- > "cycle" : 0.6, objects\colony\colonydeed\colonydeed.frames 3c3 < "size" : [16, 40], --- > "size" : [16, 25], objects\colony\colonydeed\colonydeed.lua 173a174,200 > function spawn(tenant) > local level = tenant.level or 1 > local overrides = tenant.overrides or {} > local position = {self.position[1], self.position[2]} > for i,val in ipairs(self.positionVariance) do > if val ~= 0 then > position[i] = position[i] + math.random(val) - (val / 2) > end > end > > if tenant.spawn == "npc" then > return world.spawnNpc(position, tenant.species, tenant.type, level, tenant.seed, overrides) > > elseif tenant.spawn == "monster" then > if not overrides.seed then > overrides.seed = tenant.seed > end > if not overrides.level then > overrides.level = level > end > return world.spawnMonster(tenant.type, position, overrides) > > else > world.logInfo("colonydeed can't be used to spawn entity type '" .. tenant.spawn .. "'") > end > end > 177,186c204 < local level = tenant.level or 1 < local overrides = tenant.overrides or {} < local position = {self.position[1], self.position[2]} < for i,val in ipairs(self.positionVariance) do < if val ~= 0 then < position[i] = position[i] + math.random(val) - (val / 2) < end < end < < local entityId = world.spawnNpc(position, tenant.species, tenant.type, level, tenant.seed, overrides) --- > local entityId = spawn(tenant) objects\colony\colonydeed\colonydeed.object 19c19 < "anchors" : [ "bottom" ] --- > "anchors" : [ "background" ] objects\wired\drain\drain.lua 1c1 < function init(args) --- > function init(virtual) projectiles\npcs\icebreath\icebreath.projectile 8a9 > "emitters" : [ "iceplasmarocket" ], projectiles\npcs\icecloud\icecloud.projectile 5c5 < "animationCycle" : 1, --- > "animationCycle" : 1.05, 7a8 > "emitters" : [ "iceplasmarocket" ], projectiles\npcs\mudball\mudball.projectile 10c10 < "emitters" : [ "defaultbrown" ], --- > "emitters" : [ "defaultbrown", "poisondrip" ], projectiles\npcs\razorleaf\leafgust.projectile 9a10 > "emitters" : [ "poisondrip" ], 17c18 < "inheritSpeedFactor" : 1 --- > "inheritSpeedFactor" : 2 25c26 < "inheritSpeedFactor" : 1.1 --- > "inheritSpeedFactor" : 2 33c34 < "inheritSpeedFactor" : 1 --- > "inheritSpeedFactor" : 2 projectiles\npcs\razorleaf\razorleaf.projectile 7a8 > "emitters" : [ "poisondrip" ], 15a17,21 > }, > { > "action" : "projectile", > "type" : "snotbubblepop", > "inheritDamageFactor" : 1 projectiles\npcs\snotbubble\snotbubblefloat.projectile 14a15 > "emitters" : [ "poisondrip" ], projectiles\npcs\snotbubble\snotbubblepop.projectile 9a10 > "emitters" : [ "poisonplasmarocket", "poisondrip" ], scripts\behavior.lua 476a477,480 > if self.maxLoops == -1 and not self.untilSuccess then > --Keep from infinite looping > return "running" > end scripts\actions\entities.lua 19c19 < setPosition(args.toPosition, world.entityPosition(entityId)) --- > BData:setPosition(args.toPosition, world.entityPosition(entityId)) 187c187 < direction = {1,0}, --- > direction = {mcontroller.facingDirection(),0}, scripts\actions\movement.lua 46c46 < mcontroller.controlMove(args.direction, args.run) --- > mcontroller.controlMove(direction, args.run) 119c119,125 < local velocity = BData:getVec2(args.velocity) --- > > local velocity > if args.x and args.y then > velocity = {BData:getNumber(args.x), BData:getNumber(args.y)} > else > velocity = BData:getVec2(args.velocity) > end 202a209,217 > return true > end > > function controlParameters(args) > args = parseArgs(args, { > }) > args.dt = nil; > > mcontroller.controlParameters(args) scripts\actions\sensor.lua 8c8,13 < local sensorOffset = BData:getVec2(args.offset) --- > local sensorOffset > if args.x and args.y then > sensorOffset = {BData:getNumber(args.x), BData:getNumber(args.y)} > else > sensorOffset = BData:getVec2(args.offset) > end 15a21 > world.debugLine(position, targetPosition, world.lineTileCollision(position, targetPosition, args.collisionType) and "red" or "green") scripts\actions\time.lua 4c4 < return math.random(time[1], time[2]) --- > return math.random() * (time[2] - time[1]) + time[1] treasure\biome.treasurepools 7a8,10 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 35a39,41 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 67a74,76 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 103a113,115 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 136a149,151 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 169a185,187 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 207a226,228 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 242a264,266 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 275a300,302 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 319a347,349 > "fill" : [ > {"pool" : "valuableTreasure"} > ], treasure\common.treasurepools 11a12,14 > "fill" : [ > {"pool" : "valuableTreasure"} > ], 13,14c16 < [0.00, 1], < [0.05, 2], --- > [0.15, 2], 16c18 < [0.20, 4], --- > [0.25, 4], 21,22c23 < {"weight" : 1.0, "pool" : "basicTreasure"}, < {"weight" : 1.0, "pool" : "valuableTreasure"} --- > {"weight" : 1.0, "pool" : "basicTreasure"} 67a69 > {"weight" : 0.045, "pool" : "shield"}, 69,72c71,72 < {"weight" : 0.04, "pool" : "shield"}, < {"weight" : 0.012, "pool" : "instrument"}, < {"weight" : 0.005, "pool" : "costume"}, < {"weight" : 0.003, "item" : "teleportercore"} --- > {"weight" : 0.010, "pool" : "instrument"}, > {"weight" : 0.005, "pool" : "costume"} 80c80,81 < [1, 1] --- > [0.2, 0], > [0.8, 1] 83c84,85 < {"weight" : 1.0, "item" : "techchip"} --- > {"weight" : 0.9, "item" : "techchip"}, > {"weight" : 0.1, "item" : "teleportercore"}