Skip to content

Commit

Permalink
Merge pull request #103 from malkaviano/feature/new-assets
Browse files Browse the repository at this point in the history
Feature/new assets
  • Loading branch information
malkaviano authored Mar 19, 2024
2 parents c8555ff + 8847ed5 commit 420e527
Show file tree
Hide file tree
Showing 27 changed files with 867 additions and 405 deletions.
840 changes: 575 additions & 265 deletions package-lock.json

Large diffs are not rendered by default.

46 changes: 37 additions & 9 deletions src/assets/actors.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
{
"actors": [
{
"id": "boss",
"name": "Raskolnikov",
"description": "He's not happy seeing you here",
"characteristics": {
"STR": 11,
"VIT": 12,
"AGI": 14,
"INT": 16,
"ESN": 15,
"APP": 13
},
"skills": [
{
"name": "Firearm (Shooter)",
"value": 75
}
],
"equippedWeapon": "winchester88",
"lootState": "bossLoot",
"immunities": [],
"cures": ["REMEDY"],
"vulnerabilities": ["FIRE", "ACID"],
"resistances": ["KINETIC"],
"aiBehavior": "AGGRESSIVE",
"ignores": ["HIDDEN"],
"visibility": "VISIBLE"
},
{
"id": "zombie",
"name": "Nasty Zombie",
Expand All @@ -20,10 +48,10 @@
],
"equippedWeapon": "claw",
"lootState": "emptyState",
"immunities": [],
"immunities": ["PROFANE"],
"cures": [],
"vulnerabilities": [],
"resistances": [],
"vulnerabilities": ["SACRED", "FIRE"],
"resistances": ["ACID"],
"aiBehavior": "AGGRESSIVE",
"ignores": ["HIDDEN"],
"visibility": "VISIBLE"
Expand All @@ -43,14 +71,14 @@
"skills": [
{
"name": "Brawl",
"value": 20
"value": 35
}
],
"equippedWeapon": "martialArts",
"lootState": "villagerLoot",
"immunities": [],
"cures": [],
"vulnerabilities": [],
"cures": ["REMEDY"],
"vulnerabilities": ["FIRE", "ACID"],
"resistances": [],
"aiBehavior": "RETALIATE",
"ignores": ["HIDDEN", "DISGUISED"],
Expand All @@ -71,7 +99,7 @@
"skills": [
{
"name": "Melee Weapon (Simple)",
"value": 40
"value": 60
},
{
"name": "Dodge",
Expand All @@ -81,8 +109,8 @@
"equippedWeapon": "baton",
"lootState": "storageGuardLoot",
"immunities": [],
"cures": [],
"vulnerabilities": [],
"cures": ["REMEDY"],
"vulnerabilities": ["FIRE", "ACID"],
"resistances": [],
"aiBehavior": "AGGRESSIVE",
"ignores": ["HIDDEN", "DISGUISED"],
Expand Down
21 changes: 21 additions & 0 deletions src/assets/interactives.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
{
"interactives": [
{
"id": "masterRoomCabinet",
"name": "Wooden Ornated Cabinet",
"description": "Cabinet with the good stuff",
"state": "masterRoomCabinetLoot",
"resettable": false
},
{
"id": "basementChest",
"name": "Common old dirty chest",
"description": "The secret document must be inside",
"state": "basementChestLocked1",
"resettable": false
},
{
"id": "maidNPC",
"name": "Maid",
"description": "Cleans the house",
"state": "maidConversation",
"resettable": true
},
{
"id": "hunterCabinTable",
"name": "Wooden Table",
Expand Down
23 changes: 18 additions & 5 deletions src/assets/items/armor.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
{
"armor": [
{
"name": "leatherJacket",
"label": "Hard Leather Jacket",
"name": "hardenedJacket",
"label": "Hardened Jacket",
"description": "A jacket made of hard leather, light protection",
"damageReduction": {
"KINETIC": 2,
"KINETIC": 3,
"PROFANE": 0,
"SACRED": 0,
"ACID": 1,
"FIRE": 1
"ACID": 0,
"FIRE": 0
},
"armorPenalty": "LIGHT"
},
{
"name": "militaryOvercoat",
"label": "Especially made overcoat",
"description": "An overcoat made of hard leather and kevlar plates",
"damageReduction": {
"KINETIC": 5,
"PROFANE": 0,
"SACRED": 0,
"ACID": 3,
"FIRE": 3
},
"armorPenalty": "LIGHT"
}
Expand Down
15 changes: 15 additions & 0 deletions src/assets/items/readables.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"readables": [
{
"name": "secretDocuments",
"label": "Secret Documents",
"description": "Your goal",
"title": "Thank you for toying around",
"text": [
"This project is a prototype for fast testing RPG ideas.",
"At the time it looked like a good idea, nowadays I'm more involved with Unreal Engine.",
"I made it with Angular 2+, there's no backend, because I did not want costs.",
"After learning React.js, it sounded like a more viable approach for the project.",
"That's all, all assets are json files, fork the project and toy around.",
"Don't mind asking for help, github tickets are the better way to do it."
],
"usability": "PERMANENT"
},
{
"name": "hunterJournal1",
"label": "Hunter's Journal #1",
Expand Down
6 changes: 6 additions & 0 deletions src/assets/items/usables.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"usables": [
{
"name": "secretChestKey",
"label": "Secret Chest Key",
"description": "Use to open the secret chest",
"usability": "PERMANENT"
},
{
"name": "masterKey",
"label": "Master Key",
Expand Down
46 changes: 23 additions & 23 deletions src/assets/items/weapons.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
{
"name": "huntingKnife",
"label": "Hunting Knife",
"description": "A knife used by hunters mostly. 1D6+1 kinetic damage",
"description": "A knife used by hunters mostly. 1d4+3 kinetic damage",
"skillName": "Melee Weapon (Simple)",
"damage": {
"dice": {
"D6": 1
"D4": 1
},
"fixed": 1,
"fixed": 3,
"effect": "KINETIC"
},
"dodgeable": true,
"usability": "PERMANENT" ,
"usability": "PERMANENT",
"quality": "SUPERIOR"
},
{
"name": "winchester88",
"label": "Winchester 88",
"description": "A reliable rifle. 2D6 kinetic damage",
"description": "A reliable rifle. 3d6 kinetic damage",
"skillName": "Firearm (Shooter)",
"damage": {
"dice": {
"D6": 2
"D6": 3
},
"fixed": 0,
"effect": "KINETIC"
Expand All @@ -34,11 +34,11 @@
{
"name": "martialArts",
"label": "Martial Arts",
"description": "Mix of punches and kicks",
"description": "Mix of punches and kicks. 3 kinetic damage",
"skillName": "Brawl",
"damage": {
"dice": {},
"fixed": 1,
"fixed": 3,
"effect": "KINETIC"
},
"dodgeable": true,
Expand All @@ -47,11 +47,11 @@
{
"name": "claw",
"label": "Claws",
"description": "Nasty Claws",
"description": "Nasty Claws. 1d8+2 kinetic damage",
"skillName": "Brawl",
"damage": {
"dice": { "D6": 1 },
"fixed": 1,
"dice": { "D8": 1 },
"fixed": 2,
"effect": "KINETIC"
},
"dodgeable": true,
Expand All @@ -60,11 +60,11 @@
{
"name": "molotov",
"label": "Molotov",
"description": "Home made fire bomb",
"description": "Home made fire bomb. 1d6+10 fire damage",
"skillName": "Ranged Weapon (Throw)",
"damage": {
"dice": { "D6": 1 },
"fixed": 3,
"fixed": 10,
"effect": "FIRE"
},
"dodgeable": false,
Expand All @@ -73,24 +73,24 @@
{
"name": "g17",
"label": "Glock 17",
"description": "9mm reliable handgun",
"description": "9mm reliable handgun. 1d8+4 kinetic damage",
"skillName": "Firearm (Handgun)",
"damage": {
"dice": { "D4": 1 },
"fixed": 2,
"dice": { "D8": 1 },
"fixed": 4,
"effect": "KINETIC"
},
"dodgeable": false,
"usability": "PERMANENT"
},
{
"name": "talisman",
"name": "sacredTalisman",
"label": "Sacred Talisman",
"description": "Use your faith",
"description": "Use your faith. 1d12+4 sacred damage",
"skillName": "Knowledge (Religion)",
"damage": {
"dice": { "D6": 1 },
"fixed": 0,
"dice": { "D12": 1 },
"fixed": 4,
"effect": "SACRED"
},
"dodgeable": false,
Expand All @@ -101,11 +101,11 @@
{
"name": "baton",
"label": "Baton",
"description": "Police Baton",
"description": "Police Baton. 4 kinetic damage",
"skillName": "Melee Weapon (Simple)",
"damage": {
"dice": { "D4": 1 },
"fixed": 0,
"dice": {},
"fixed": 4,
"effect": "KINETIC"
},
"dodgeable": true,
Expand Down
20 changes: 20 additions & 0 deletions src/assets/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,26 @@
"change": "map1"
}
]
},
{
"id": "map3",
"options": [
{
"name": "boss",
"label": "Where's Raskolnikov",
"answer": "In the lib, he does not want to be disturbed"
},
{
"name": "masterRoom",
"label": "He asked me to grab his stuff",
"answer": "Upstairs in the master room"
},
{
"name": "basement",
"label": "About the basement",
"answer": "It's forbidden to go there, it's locked"
}
]
}
]
}
Loading

0 comments on commit 420e527

Please sign in to comment.