Implemented animatronic.json

This commit is contained in:
2026-04-01 00:51:49 -03:00
parent ffa3dc076b
commit f40831c3c2
13 changed files with 173 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
{
"animatronics": [
"freddy"
]
}

View File

@@ -0,0 +1,27 @@
{
"id": "freddy",
"displayName": "Freddy Fazbear",
"inRoom": 9,
"restRoom": 9,
"color": "#FF5733",
"movement": {
"type": "SEQUENTIAL",
"path": [9],
"moveIntervalSeconds": 30,
"aiSpeedMultiplier": true
},
"attackType": {
"kind": "LIGHT",
"lightLevel": 3
},
"jumpscare": {
"sprite": "freddy_jumpscare",
"sound": "freddy_scream",
"durationSeconds": 2.5
}
}

View File

@@ -0,0 +1,12 @@
{
"nights": [
{
"night": 1,
"hours": [
{ "hour": 0, "ai": { "freddy": 10 } },
{ "hour": 1, "ai": { "freddy": 11 } },
{ "hour": 2, "ai": { "freddy": 20 } }
]
}
]
}