Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map references #102

Merged
merged 15 commits into from
May 6, 2024
Merged
193 changes: 139 additions & 54 deletions ItemProtosets.tres

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Mods/Core/Furniture/Furniture.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
"sprite": "bed_wood_100_50.png"
},
{
"Function": {
"container": {
"itemgroup": "cabinet_general"
}
},
"categories": [
"Urban",
"Indoor"
Expand Down
50 changes: 43 additions & 7 deletions Mods/Core/Itemgroups/Itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,26 @@
"description": "Anything you can find in a kitchen cupboard",
"id": "kitchen_cupboard",
"items": [
"canned_food",
"bottle_plastic_water",
"bottle_plastic_empty",
"screwdriver",
"hammer",
"bandage_basic",
"bottle_antibiotics",
"flashlight_basic",
"pack_sigarrettes",
"battery_small",
"bottle_disinfectant",
"canned_food",
"bottle_plastic_water"
"can_beer",
"bottle_disinfectant"
],
"name": "Kitchen cupboard",
"references": {
"core": {
"furniture": [
"countertop_wood"
],
"mobs": [
"scrapwalker"
]
}
},
"sprite": "canned_food_32.png"
},
{
Expand All @@ -28,5 +36,33 @@
],
"name": "Mob loot",
"sprite": "machete_32.png"
},
{
"description": "What you would find in a cabinet in a house, for example in the living room",
"id": "cabinet_general",
"items": [
"steel_scrap",
"bullet_9mm",
"pistol_magazine",
"pistol_9mm",
"bottle_plastic_water",
"hammer",
"screwdriver",
"bandage_basic",
"boots",
"can_oil",
"flashlight_basic",
"battery_small",
"book_novel"
],
"name": "General cabinet contents",
"references": {
"core": {
"furniture": [
"cabinet_wood_00"
]
}
},
"sprite": "flashlight_32.png"
}
]
Loading