Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenshut authored Apr 4, 2023
1 parent 83e1ce4 commit b584977
Show file tree
Hide file tree
Showing 35 changed files with 1,624 additions and 198 deletions.
34 changes: 32 additions & 2 deletions NPC/classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{
"type": "npc_class",
"id": "NC_монолит",
"name": { "str": "Монолитовеч" },
"name": { "str": "Монолитовец" },
"job_description": "Монолит больше не отвечает, но я не сдамся .",
"traits": [ { "group": "BG_survival_story_EVACUEE" }, { "group": "NPC_starting_traits" }, { "group": "Appearance_demographics" } ],
"traits": [ { "group": "BG_survival_story_EVACUEE" }, { "group": "NPC_starting_traits" }, { "group": "Appearance_demographics" },{ "trait": "NIGHTVISION2" }],
"weapon_override": "Оружие_монолита",
"worn_override": "одежда_монолита",
"carry_override": "вещи_монолита",
Expand All @@ -15,5 +15,35 @@
{ "skill": "rifle", "bonus": { "rng": [ 2, 5 ] } },
{ "skill": "archery", "bonus": { "rng": [ 2, 5 ] } }
]
},
{
"type": "npc_class",
"id": "сидор",
"name": "Сидорович",
"common": false,
"bonus_str": { "rng": [ 20, 30 ] },
"job_description": "Даже странно такой вопрос слышать... Ты вроде в Зоне не первый день, а про меня спрашиваешь. Да меня каждая собака в Зоне знает! я самый авторитетный «купи-продай». Если я что-то достать не могу, значит, это вообще нереально..",
"traits": [{ "trait": "NIGHTVISION2" }],
"weapon_override": "Оружие_монолита",
"worn_override": "сидор",
"carry_override": "вещи_монолита",
"sells_belongings": false,
"shopkeeper_item_group": [

{ "group": "сидорассорти" },
{ "group": "сидорааптека" },
{ "group": "сидораинстру" },
{ "group": "сидорадробь", "trust": 1 },
{ "group": "сидорапистоль", "trust": 1 },
{ "group": "сидораинстру_tire2", "trust": 2 }

],
"skills": [
{ "skill": "ALL", "level": { "sum": [ { "dice": [ 3, 2 ] }, { "constant": -3 } ] } },
{ "skill": "gun", "bonus": { "rng": [ 2, 4 ] } },
{ "skill": "pistol", "bonus": { "rng": [ 2, 5 ] } },
{ "skill": "rifle", "bonus": { "rng": [ 2, 5 ] } },
{ "skill": "archery", "bonus": { "rng": [ 2, 5 ] } }
]
}
]
21 changes: 21 additions & 0 deletions NPC/factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,27 @@
},
"description": "На удивление они смогли сохранить разум."
},
{
"type": "faction",
"id": "Бункер_сидора",
"name": "Бункер Сидоривича",
"currency": "деньги",
"price_rules": [ { "item": "деньги", "markup": 100 } ],
"likes_u": 0,
"respects_u": 0,
"known_by_u": false,
"size": 100,
"power": 100,
"food_supply": 230400,
"wealth": 45000000,
"relations": {
"free_merchants": { "knows your voice": true },
"old_guard": { "knows your voice": true },
"your_followers": { "knows your voice": true },
"no_faction": { "knows your voice": true }
},
"description": "Торговец, причем самый известный, если вы его не знаете, то позор вам."
},
{
"type": "faction",
"id": "prisoners",
Expand Down
93 changes: 91 additions & 2 deletions NPC/npc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"type": "npc",
"id": "Монолитовец",
"//": "Generic pistol/rifle focused guard for the Hell's Raiders faction.",
"name_suffix": "Монолитовец",
"class": "NC_монолит",
"attitude": 0,
Expand All @@ -28,12 +27,102 @@
"type": "item_group",
"id": "вещи_монолита",
"subtype": "collection",
"entries": [ { "item": "50bmg" },{ "item": "50bmg" } ]
"entries": [ { "item": "50bmg" }]
},
{
"type": "item_group",
"id": "Оружие_монолита",
"subtype": "collection",
"entries": [ { "item": "m2browning_sawn" } ]
},
{
"type": "npc",
"id": "сидор",
"name_unique": "Сидорович",
"gender": "male",
"mission_offered": ["убитьбандитов","достать_5_голов_тушкана"],
"class": "сидор",
"attitude": 0,
"mission": 8,
"chat": "сидор",
"faction": "Бункер_сидора"
},
{
"type": "item_group",
"id": "сидораинстру",
"subtype": "collection",
"entries": [
{ "item": "multitool", "prob": 1, "count": [ 1, 2 ] },
{ "item": "hammer", "prob": 1, "count": [ 1, 2 ] },
{ "item": "saw", "prob": 1, "count": [ 1, 2 ] },
{ "item": "hacksaw", "prob": 1, "count": [ 1, 2 ] }
]
},
{
"type": "item_group",
"id": "сидораинстру_tire2",
"subtype": "collection",
"entries": [
{ "item": "misc_repairkit", "prob": 1, "count": [ 1,1 ] },
{ "item": "medium_disposable_cell", "prob": 2, "count": [ 1,2 ] },
{ "item": "large_repairkit", "prob": 1, "count": [ 1, 2 ] }
]
},
{
"type": "item_group",
"id": "сидорааптека",
"subtype": "collection",
"entries": [
{ "item": "bandages", "prob": 10, "count": [ 1, 2 ] },
{ "item": "adhesive_bandages", "prob": 10, "count": [ 1, 2 ] },
{ "item": "alcohol_wipes", "prob": 10, "count": [ 1, 2 ] }
]
},
{
"type": "item_group",
"id": "сидорассорти",
"subtype": "collection",
"entries": [
{ "item": "can_tuna", "prob": 10, "count": [ 1, 2 ] },
{ "item": "can_salmon", "prob": 10, "count": [ 1, 2 ] },
{ "item": "apple_canned", "prob": 10, "count": [ 1, 2 ] },
{ "item": "can_sardine", "prob": 10, "count": [ 1, 2 ] },
{ "item": "offal_canned", "prob": 10, "count": [ 1, 2 ] },
{ "item": "can_pineapple", "prob": 10, "count": [ 1, 2 ] },
{ "item": "meat_canned", "prob": 10, "count": [ 1, 2 ] }
]
},
{
"type": "item_group",
"id": "сидорапистоль",
"subtype": "collection",
"entries": [
{ "item": "9x18mm", "prob": 10, "count": [ 1, 2 ] },
{ "item": "9x18mmfmj", "prob": 10, "count": [ 1, 2 ] },
{ "item": "9x18mmP2", "prob": 10, "count": [ 1, 2 ] }
]
},
{
"type": "item_group",
"id": "сидорадробь",
"subtype": "collection",
"entries": [
{ "item": "shot_00", "prob": 10, "count": [ 1, 2 ] },
{ "item": "shot_he", "prob": 10, "count": [ 1, 2 ] },
{ "item": "shot_flechette", "prob": 10, "count": [ 1, 2 ] }
]
},
{
"type": "item_group",
"id": "сидор",
"subtype": "collection",
"entries": [
{ "item": "boxer_briefs" },
{ "item": "socks" },
{ "item": "backpack" },
{ "item": "штаны_сидор" },
{ "item": "boots_combat" },
{ "item": "куртка_сидора" }
]
}
]
195 changes: 195 additions & 0 deletions NPC/мис.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
[
{
"id": "убитьбандитов",
"type": "mission_definition",
"name": { "str": "КОНТРАКТ - Убить бандитов" },
"description": "Сидорович послал меня <color_red>убить бандитов</color>. ну а мне что? деньги не пахнут.",
"goal": "MGOAL_ASSASSINATE",
"difficulty": 5,
"value": 5000,
"start": {
"assign_mission_target": { "om_terrain": "field","z": 0, "reveal_radius": 1, "random": true, "search_range": 80 },
"update_mapgen": {
"rows": [
" ",
" ",
" ",
" ggggggggggggg ",
" ggggggggggggg ",
" gg....R...ggg ",
" gg........ggg ",
" gg.......Rggg ",
" gg.F..a...ggg ",
" gg........ggg ",
" gg........ggg ",
" gg........ggg ",
" gg........ggg ",
" gg........ggg ",
" ggggggggggggg ",
" ggggggggggggg ",
" ",
" ",
" ",
" b b ",
" b bb ",
" b ",
" ",
" "
],
"flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ],
"terrain": {
"g": "t_region_groundcover",
".": "t_region_groundcover_barren",
"a": "t_region_groundcover_barren",
"b": "t_region_groundcover_barren",
"R": "t_region_groundcover_barren",
"F": "t_region_groundcover_barren"
},
"furniture": { "a": "f_ash" },
"traps": { "F": "tr_fur_rollmat", "R": "tr_rollmat" },
"fields": { "b": { "field": "fd_blood", "intensity": 1 } },
"place_loot": [
{ "group": "cannedfood", "x": [ 6, 18 ], "y": [ 3, 15 ], "chance": 100 },
{ "group": "alcohol_bottled_canned", "x": [ 6, 18 ], "y": [ 3, 15 ], "repeat": 5, "chance": 75 },
{ "group": "trash_forest", "x": [ 6, 18 ], "y": [ 3, 15 ], "repeat": 2, "chance": 75 },
{ "group": "stash_drugs", "x": [ 6, 18 ], "y": [ 3, 15 ], "chance": 75 },
{ "group": "dresser", "x": [ 9, 10 ], "y": [ 10, 14 ], "chance": 75 },
{ "group": "softdrugs", "x": [ 9, 10 ], "y": [ 10, 14 ], "chance": 50 },
{ "group": "camping", "x": [ 9, 10 ], "y": [ 10, 14 ], "chance": 75 },
{ "group": "casings", "x": [ 10, 15 ], "y": [ 15, 18 ], "repeat": 5, "chance": 100 }

],
"place_npcs": [
{ "class": "bandit", "x": 15, "y": 7 },
{ "class": "thug", "x": 12, "y": 5 },
{ "class": "bandit", "x": 9, "y": 8, "target": true }
]
}
},
"end": {
"effect": [
{ "u_spawn_item": "деньги", "count": 2000 },
{ "arithmetic": [ { "npc_val": "npc_trust" }, "++" ] },
{ "u_add_var": "убитьсталкера", "type": "mission", "context": "flag", "value": "yes" }
]
},
"origins": [ "ORIGIN_SECONDARY" ],
"followup": "убитьмонолитовца",
"dialogue": {
"describe": "Надо устранить бандитов.",
"offer": "недалеко от меня остановились бандиты и они мешают моей торговле. За их устранение дам 2000 моей валюты ",
"accepted": "Давай побыстрее",
"rejected": "Ну как хочешь.",
"advice": "Ты сам должен с этим разобраться.",
"inquire": "Ты уже порешал их?",
"success": "Отлично, вот твои деньги ",
"success_lie": "ТЫ МНЕ ВРЕШЬ?!",
"failure": "НУ ПИЗДЕЦ! ТЫ КАК ВООБЩЕ УМУДРИЛСЯ?!"
}
},
{
"id": "достать_5_голов_тушкана",
"type": "mission_definition",
"name": { "str": "КОНТРАКТ - Принести 5 голов тушканов" },
"description": "Сидоровичу понадобилось целых <color_light_blue>5 голов тушканов</color>, давольно не обычный заказ.",
"goal": "MGOAL_FIND_ITEM",
"difficulty": 2,
"value": 50000,
"item": "ks_head_tushkan",
"count": 5,
"end": {
"effect": [
{ "u_spawn_item": "деньги", "count": 1000 },
{ "arithmetic": [ { "npc_val": "npc_trust" }, "++" ] },
{ "u_sell_item": "ks_head_tushkan", "count": 5 },
{ "u_add_var": "тушкан5", "type": "mission", "context": "flag", "value": "yes" }
]
},
"origins": [ "ORIGIN_SECONDARY" ],
"dialogue": {
"describe": "Головы тушканов",
"offer": "Мне тут понадобилось 5 голов тушканов, заплачу тебе 1000 моей валюты.",
"accepted": "Давай только побыстрее.",
"rejected": "Ну как хочешь.",
"advice": "просто отрежь им головы, окей?",
"inquire": "Ну как, принес?",
"success": "Отлично, вот твои деньги.",
"success_lie": "ТЫ ЧТО ПИЗДИШЬ МНЕ ТУТ?!",
"failure": "КАК ТЫ БЛЯТЬ УМУДРИЛСЯ?!"
}
},
{
"id": "убитьмонолитовца",
"type": "mission_definition",
"name": { "str": "КОНТРАКТ - Убить монолитовца" },
"description": "На этот раз Сидор послал меня <color_red>убить монолитовца</color>. Интересно, почему же монолит все еще действует?",
"goal": "MGOAL_ASSASSINATE",
"difficulty": 5,
"value": 5000,
"start": {
"assign_mission_target": { "om_terrain": "field","z": 0, "reveal_radius": 1, "random": true, "search_range": 80 },
"update_mapgen": {
"rows": [
" ",
" ",
" ",
" ggggggggggggg ",
" ggggggggggggg ",
" gg....R...ggg ",
" gg........ggg ",
" gg.......Rggg ",
" gg.F..a...ggg ",
" gg........ggg ",
" gg........ggg ",
" gg........ggg ",
" gg........ggg ",
" gg........ggg ",
" ggggggggggggg ",
" ggggggggggggg ",
" ",
" ",
" ",
" b b ",
" b bb ",
" b ",
" ",
" "
],
"flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ],
"terrain": {
"g": "t_region_groundcover",
".": "t_region_groundcover_barren",
"a": "t_region_groundcover_barren",
"b": "t_region_groundcover_barren",
"R": "t_region_groundcover_barren",
"F": "t_region_groundcover_barren"
},
"furniture": { "a": "f_ash" },
"traps": { "F": "tr_fur_rollmat", "R": "tr_rollmat" },
"fields": { "b": { "field": "fd_blood", "intensity": 1 } },
"place_npcs": [
{ "class": "NC_монолит", "x": 9, "y": 8, "target": true }
]
}
},
"end": {
"effect": [
{ "u_spawn_item": "деньги", "count": 4000 },
{ "arithmetic": [ { "npc_val": "npc_trust" }, "++" ] },
{ "u_add_var": "убитьмонолитовца", "type": "mission", "context": "flag", "value": "yes" }
]
},
"origins": [ "ORIGIN_SECONDARY" ],
"dialogue": {
"describe": "Надо убить монолитовца.",
"offer": "Тут недавно появился монолитовец, и он давольно сильно мешает мне. За его устранение дам 4000 моей валюты ",
"accepted": "Давай побыстрее",
"rejected": "Ну как хочешь.",
"advice": "Говорят у него есть оружие на 50 калибр.",
"inquire": "Ты уже порешал его?",
"success": "Отлично, вот твои деньги ",
"success_lie": "ТЫ МНЕ ВРЕШЬ?!",
"failure": "НУ ПИЗДЕЦ! ТЫ КАК ВООБЩЕ УМУДРИЛСЯ?!"
}
}
]
Loading

0 comments on commit b584977

Please sign in to comment.