This commit is contained in:
Aria 2025-03-21 22:23:30 +11:00
commit 9c94d113d3
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
10260 changed files with 1237388 additions and 0 deletions

View file

@ -0,0 +1,139 @@
{
"type" : "friendlyminer",
"baseType" : "base",
"persistent" : true,
"scriptConfig" : {
"behavior" : "villager",
"personalities" : [
[1.0, { "personality" : "normal", "reactions" : {} }]
],
"reactions" : {
"spontaneous" : [
[5.0, "sleep", { "timeRange" : [0.7, 0.9] }],
[1.0, "patrol"]
]
},
"dialog" : {
"tenant" : {
"arrivedHome" : {
"rent" : "/dialog/friendlyminer.config:rent"
}
},
"converse" : "/dialog/friendlyminer.config:converse"
}
},
"items" : {
"default" : [
[0, [
{
"head" : [ { "name" : "humantier1head" } ],
"chest" : [ { "name" : "humantier1chest" } ],
"legs" : [ { "name" : "humantier1pants" } ],
"primary" : [ "pickaxe" ]
}
] ]
],
"human" : [
[0, [
{
"head" : [
{ "name" : "devhead", "parameters" : { "colorIndex" : 0 } }, { "name" : "mininghathead", "parameters" : { "colorIndex" : 0 } }
],
"chest" : [
{ "name" : "humantier1chest", "parameters" : { "colorIndex" : 5 } }
],
"legs" : [
{ "name" : "humantier1pants", "parameters" : { "colorIndex" : 5 } }
],
"primary" : [ "pickaxe" ]
}
] ]
],
"apex" : [
[0, [
{
"head" : [
{ "name" : "devhead", "parameters" : { "colorIndex" : 0 } }, { "name" : "mininghathead", "parameters" : { "colorIndex" : 0 } }
],
"chest" : [
{ "name" : "apextier1chest", "parameters" : { "colorIndex" : 5 } }
],
"legs" : [
{ "name" : "apextier1pants", "parameters" : { "colorIndex" : 5 } }
],
"primary" : [ "pickaxe" ]
}
] ]
],
"avian" : [
[0, [
{
"head" : [
{ "name" : "devhead", "parameters" : { "colorIndex" : 0 } }, { "name" : "mininghathead", "parameters" : { "colorIndex" : 0 } }
],
"chest" : [
{ "name" : "aviantier1chest", "parameters" : { "colorIndex" : 5 } }
],
"legs" : [
{ "name" : "aviantier1pants", "parameters" : { "colorIndex" : 5 } }
],
"primary" : [ "pickaxe" ]
}
] ]
],
"floran" : [
[0, [
{
"head" : [
{ "name" : "devhead", "parameters" : { "colorIndex" : 0 } }, { "name" : "mininghathead", "parameters" : { "colorIndex" : 0 } }
],
"chest" : [
{ "name" : "florantier1chest", "parameters" : { "colorIndex" : 5 } }
],
"legs" : [
{ "name" : "florantier1pants", "parameters" : { "colorIndex" : 5 } }
],
"primary" : [ "pickaxe" ]
}
] ]
],
"hylotl" : [
[0, [
{
"head" : [
{ "name" : "devhead", "parameters" : { "colorIndex" : 0 } }, { "name" : "mininghathead", "parameters" : { "colorIndex" : 0 } }
],
"chest" : [
{ "name" : "hylotltier1chest", "parameters" : { "colorIndex" : 5 } }
],
"legs" : [
{ "name" : "hylotltier1pants", "parameters" : { "colorIndex" : 5 } }
],
"primary" : [ "pickaxe" ]
}
] ]
],
"glitch" : [
[0, [
{
"head" : [
{ "name" : "devhead", "parameters" : { "colorIndex" : 0 } }, { "name" : "mininghathead", "parameters" : { "colorIndex" : 0 } }
],
"chest" : [
{ "name" : "glitchtier1chest", "parameters" : { "colorIndex" : 5 } }
],
"legs" : [
{ "name" : "glitchtier1pants", "parameters" : { "colorIndex" : 5 } }
],
"primary" : [ "pickaxe" ]
}
] ]
]
}
}

View file

@ -0,0 +1,42 @@
{
"type" : "nocketgrunt",
"baseType" : "bandit",
"scriptConfig" : {
"dialog" : {
"attack" : {
"default" : {
"default" : [
"Prepare for trouble!"
]
}
}
}
},
"items" : {
"override" : [
[0, [
{
"head" : [ { "name" : "bandithat1" }, { "name" : "bandithat2" } ],
"chest" : [ { "name" : "protectoratechest", "parameters" : { "colorIndex" : 1 } } ],
"legs" : [ { "name" : "explorerlegs" } ],
"primary" : [ "npcpetcapturepod" ],
"sheathedprimary" : [
"npcdagger",
"npcaxe",
"npcshortsword",
"npcbroadsword",
"npchammer",
"npcspear",
"npcassaultrifle",
"npcpistol",
"npcmachinepistol",
"npcshotgun",
"npcsniperrifle"
]
}
]]
]
}
}

View file

@ -0,0 +1,8 @@
{
"type" : "pathbench",
"baseType" : "base",
"scriptConfig" : {
"behavior" : "/behaviors/npc/pather.behavior"
}
}

View file

@ -0,0 +1,126 @@
{
"type" : "pathdebug",
"baseType" : "base",
"damageTeam" : 1,
"disableWornArmor" : true,
"scriptConfig" : {
"behavior" : "pathdebug",
"pathing": {
"desiredDistance": 2
},
"doorHitPoly" : [ [2, -1], [2, 1], [0, 1], [0, -1] ],
"idleTimeRange" : [10000.0, 10000.0],
"gapSensor" : [ [2.0, -4.5] ],
"gapFarSideSensors" : [ [3.0, -4.5], [4.0, -4.5], [5.0, -4.5], [6.0, -4.5], [7.0, -4.5], [8.0, -4.5] ],
"gapJumpHoldTime" : 0.4,
"wander" : {
"timeRange" : [2.0, 10.0],
"chatDistance" : 4,
"indoorTimeOfDayRanges" : [ [0.0, 0.2], [0.5, 1.0] ],
"indoorSearchRadius" : 60,
"indoorLookaheadDistance" : 4,
"moveToTargetTime" : 10.0,
"changeDirectionCooldown" : 2,
"dropDownChance" : 5,
"cooldown" : 10
}
},
"items" : {},
"dropPools" : [ "villagertreasure" ],
"statusControllerSettings" : {
"statusProperties" : {
"targetMaterialKind" : "organic"
},
"persistentEffectCategories" : [
"innate",
"armor",
"tools",
"lounging"
],
"appliesEnvironmentStatusEffects" : false,
"appliesWeatherStatusEffects" : true,
"minimumLiquidStatusEffectPercentage" : 0.1,
"primaryScriptSources" : [
"/stats/npc_primary.lua",
"/scripts/vec2.lua"
],
"primaryScriptDelta" : 5,
"stats" : {
"maxHealth" : {
"baseValue" : 40.0
},
"maxEnergy" : {
"baseValue" : 80.0
},
"powerMultiplier" : {
"baseValue" : 1.0
},
"protection" : {
"baseValue" : 10.0
},
"healthRegen" : {
"baseValue" : 0.0
},
"energyRegenPercentageRate" : {
"baseValue" : 0.585
},
"energyRegenBlockDischarge" : {
"baseValue" : -1.0
},
"invulnerable" : {
"baseValue" : 0.0
}
},
"resources" : {
"health" : {
"maxStat" : "maxHealth",
"deltaStat" : "healthRegen",
"defaultPercentage" : 1.0
},
"energy" : {
"maxStat" : "maxEnergy",
"deltaStat" : "energyRegen",
"defaultPercentage" : 1.0
}
}
},
"persistent" : true,
"splashConfig" : {
"splashSpeedMin" : 10.0,
"splashMinWaterLevel" : 0.4,
"splashBottomSensor" : [0, -2.0],
"splashTopSensor" : [0, 2.0],
"numSplashParticles" : 8,
"splashYVelocityFactor" : 0.2,
"splashParticle" : {
"type" : "ember",
"position" : [0, -1],
"finalVelocity" : [0, -20],
"approach" : [0, 50],
"color" : [60, 150, 224, 100],
"size" : 4.0,
"timeToLive" : 0.5,
"destructionAction" : "shrink",
"destructionTime" : 0.2
},
"splashParticleVariance" : {
"velocity" : [10, 0]
}
}
}

View file

@ -0,0 +1,86 @@
{
"type" : "penguard",
"baseType" : "guard",
"scriptConfig" : {
"converse" : {
"waitTime" : 0.5,
"dialog" : {
"default" : [
"Dangerous things sometimes come in small packages..."
]
}
}
},
"items" : {
"default" : [
[0, [
{
"primary" : [ "npcdagger" ],
"sheathedprimary" : [ "npcpistol" ]
}
] ]
]
},
"statusControllerSettings" : {
"statusProperties" : {
"targetMaterialKind" : "organic"
},
"appliesEnvironmentStatusEffects" : false,
"appliesWeatherStatusEffects" : true,
"minimumLiquidStatusEffectPercentage" : 0.1,
"primaryScriptSources" : [
"/stats/npc_primary.lua",
"/scripts/vec2.lua"
],
"primaryScriptDelta" : 5,
"stats" : {
"maxHealth" : {
"baseValue" : 100.0
},
"maxEnergy" : {
"baseValue" : 80.0
},
"powerMultiplier" : {
"baseValue" : 1.0
},
"protection" : {
"baseValue" : 1.0
},
"healthRegen" : {
"baseValue" : 0.0
},
"energyRegenPercentageRate" : {
"baseValue" : 0.585
},
"energyRegenBlockDischarge" : {
"baseValue" : -1.0
},
"invulnerable" : {
"baseValue" : 0.0
}
},
"resources" : {
"health" : {
"maxStat" : "maxHealth",
"deltaStat" : "healthRegen",
"defaultPercentage" : 1.0
},
"energy" : {
"maxStat" : "maxEnergy",
"defaultPercentage" : 1.0
},
"energyRegenBlock" : {
"maxValue" : 1.0,
"deltaStat" : "energyRegenBlockDischarge",
"initialPercentage" : 0.0
}
}
}
}

View file

@ -0,0 +1,19 @@
{
"type" : "runarounder",
"baseType" : "base",
"scriptConfig" : {
"behavior" : "runarounder"
},
"statusControllerSettings" : {
"stats" : {
"protection" : {
"baseValue" : 100.0
},
"grit" : {
"baseValue" : 1
}
}
}
}

View file

@ -0,0 +1,21 @@
{
"type" : "sleeper",
"baseType" : "villager",
"scriptConfig" : {
"personalities" : [
[1.0, {
"personality" : "sleeper",
"behaviorConfig" : {
"sleepUntil" : [0.9, 1.0]
},
"reactions" : {
"spontaneous" : [
[5.0, "sleep", { "timeRange" : [0.0, 0.9] }],
[1.0, "wander"]
]
}
}]
]
}
}

View file

@ -0,0 +1,13 @@
{
"type" : "stealquestgiver",
"baseType" : "villager",
"persistent" : true,
"scriptConfig" : {
"questGenerator" : {
"develQuests" : true,
"steal" : true
}
}
}

View file

@ -0,0 +1,103 @@
{
"type" : "testquestgiver",
"baseType" : "villager",
"persistent" : true,
"scriptConfig" : {
"questGenerator" : {
"develQuests" : true,
"templates" : ["bugcollector.generated"],
"parameters" : [
{
"bug" : {
"type" : "item",
"item" : "ashsprite"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "ashsprite",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "aurorabee"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "aurorabee",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "blueback"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "blueback",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "brightstripe"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "brightstripe",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "butterbee"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "butterbee",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "cinderfly"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "cinderfly",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "dewhopper"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "dewhopper",
"indicator" : "questrelevant"
}
},
{
"bug" : {
"type" : "item",
"item" : "driftbell"
},
"indicatedMonster" : {
"type" : "monster",
"typeName" : "driftbell",
"indicator" : "questrelevant"
}
}
]
}
}
}

View file

@ -0,0 +1,83 @@
{
"type" : "testquestgiver2",
"baseType" : "testquestgiver",
"scriptConfig" : {
"questGenerator" : {
"develQuests" : true,
"templates" : ["bugcollectormulti.generated"],
"parameters" : [
{
"bugs" : {
"type" : "itemList",
"items" : [
["ashsprite", 1],
["aurorabee", 1],
["blueback", 1],
["brightstripe", 1]
]
},
"indicatedMonster1" : {
"type" : "monster",
"typeName" : "ashsprite"
},
"indicatedMonster2" : {
"type" : "monster",
"typeName" : "aurorabee"
},
"indicatedMonster3" : {
"type" : "monster",
"typeName" : "blueback"
},
"indicatedMonster4" : {
"type" : "monster",
"typeName" : "brightstripe"
},
"reward1" : {
"type" : "item",
"item" : "woodendoor"
},
"reward2" : {
"type" : "itemList",
"items" : [["dirtmaterial", 100], ["darkwoodmaterial", 50]]
}
},
{
"bugs" : {
"type" : "itemList",
"items" : [
["butterbee", 1],
["cinderfly", 1],
["dewhopper", 1],
["driftbell", 1]
]
},
"indicatedMonster1" : {
"type" : "monster",
"typeName" : "butterbee"
},
"indicatedMonster2" : {
"type" : "monster",
"typeName" : "cinderfly"
},
"indicatedMonster3" : {
"type" : "monster",
"typeName" : "dewhopper"
},
"indicatedMonster4" : {
"type" : "monster",
"typeName" : "driftbell"
},
"reward1" : {
"type" : "item",
"item" : "capturepod"
},
"reward2" : {
"type" : "itemList",
"items" : [["woodtable", 2]]
}
}
]
}
}
}

File diff suppressed because it is too large Load diff