Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
borsek authored Sep 17, 2023
1 parent 8e926c0 commit c63c38d
Show file tree
Hide file tree
Showing 6 changed files with 187 additions and 89 deletions.
56 changes: 28 additions & 28 deletions data/mods/Borsek_teleporters/furniture.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[
{
"id": "teleporter_anchor_deployed",
"type": "furniture",
"name": "Teleporter anchor (deployed)",
"move_cost_mod": 4,
"coverage": 0,
"required_str": 100,
"description": "A teleporter anchor, functioning as a target you can teleport to.",
"symbol": "O",
"color": "yellow",
"flags": [ "EASY_DECONSTRUCT", "NOCOLLIDE" ],
"looks_like": "telepad"
},
{
"id": "teleporter_station_deployed",
"type": "furniture",
"name": "Teleporter station (deployed)",
"move_cost_mod": 4,
"coverage": 0,
"required_str": 100,
"description": "A teleporter station, can be used to teleport.",
"symbol": "O",
"color": "yellow",
"flags": [ "EASY_DECONSTRUCT" ],
"looks_like": "f_MRI"
}
]
[
{
"id": "teleporter_anchor_deployed",
"type": "furniture",
"name": "Teleporter anchor (deployed)",
"move_cost_mod": 4,
"coverage": 0,
"required_str": 100,
"description": "A teleporter anchor, functioning as a target you can teleport to.",
"symbol": "O",
"color": "yellow",
"flags": [ "EASY_DECONSTRUCT", "NOCOLLIDE" ],
"looks_like": "telepad"
},
{
"id": "teleporter_station_deployed",
"type": "furniture",
"name": "Teleporter station (deployed)",
"move_cost_mod": 4,
"coverage": 0,
"required_str": 100,
"description": "A teleporter station, can be used to teleport.",
"symbol": "O",
"color": "yellow",
"flags": [ "EASY_DECONSTRUCT" ],
"looks_like": "f_MRI"
}
]
111 changes: 59 additions & 52 deletions data/mods/Borsek_teleporters/item.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
[
{
"id": "teleporter_controller",
"category": "tools",
"type": "TOOL",
"name": { "str": "A teleporter remote" },
"description": "A device with a digital display, connected to the teleporter network. Can be used to check teleporter status and teleport the user.",
"symbol": "{",
"color": "black",
"weight": "1680 g",
"volume": "1 L",
"price": 40000,
"price_postapoc": 10000,
"material": [ "steel" ],
"to_hit": -4,
"bashing": 1,
"use_action": "teleporter_controller_use",
"looks_like": "teleporter",
"ammo": "battery",
"charges_per_use": 1,
"magazines": [
"id": "teleporter_controller",
"category": "tools",
"type": "TOOL",
"name": { "str": "Teleporter remote" },
"description": "A device with a digital display, connected to the teleporter network. Can be used to check teleporter status and teleport the user.",
"symbol": "{",
"color": "black",
"weight": "1680 g",
"volume": "1 L",
"price": 40000,
"price_postapoc": 10000,
"material": [ "steel" ],
"to_hit": -4,
"bashing": 1,
"use_action": "teleporter_controller_use",
"looks_like": "teleporter",
"ammo": "battery",
"charges_per_use": 1,
"magazines": [
[
"battery",
[
Expand All @@ -35,39 +35,46 @@
"magazine_well": "250 ml"
},
{
"id": "teleporter_anchor_undeployed",
"category": "tools",
"type": "TOOL",
"name": { "str": "Teleporter anchor" },
"description": "A teleporter anchor, can be placed to function as a target.",
"symbol": "{",
"color": "black",
"weight": "150000 g",
"volume": "150 L",
"price": 40000,
"price_postapoc": 10000,
"material": [ "steel" ],
"to_hit": -4,
"bashing": 1,
"use_action": "teleporter_anchor_use",
"looks_like": "tr_firewood_source"
"id": "teleporter_anchor_undeployed",
"category": "tools",
"type": "TOOL",
"name": { "str": "Teleporter anchor (undeployed)" },
"description": "A teleporter anchor, can be placed to function as a target.",
"symbol": "{",
"color": "black",
"weight": "150000 g",
"volume": "150 L",
"price": 40000,
"price_postapoc": 10000,
"material": [ "steel" ],
"to_hit": -4,
"bashing": 1,
"use_action": "teleporter_anchor_use",
"looks_like": "tr_firewood_source"
},
{
"id": "teleporter_station_undeployed",
"category": "tools",
"type": "TOOL",
"name": { "str": "Teleporter station (undeployed), can be used to be deployed." },
"description": "A deployable teleporter station.",
"symbol": "{",
"color": "black",
"weight": "400000 g",
"volume": "350 L",
"price": 40000,
"price_postapoc": 10000,
"material": [ "steel" ],
"to_hit": -4,
"bashing": 1,
"use_action": "teleporter_station_use",
"looks_like": "f_fridge"
}
"id": "teleporter_station_undeployed",
"category": "tools",
"type": "TOOL",
"name": { "str": "Teleporter station (undeployed)" },
"description": "A deployable teleporter station.",
"symbol": "{",
"color": "black",
"weight": "400000 g",
"volume": "350 L",
"price": 40000,
"price_postapoc": 10000,
"material": [ "steel" ],
"to_hit": -4,
"bashing": 1,
"use_action": "teleporter_station_use",
"looks_like": "f_fridge"
},
{
"id": "schematics_teleportation",
"type": "BOOK",
"name": { "str_sp": "Teleporter network schematics" },
"description": "A disjointed collection of lab book pages , post-it notes, and computer printouts containing some funky physics equations and circuit diagrams. They seem to be describing some form of stable teleportation technology.",
"copy-from": "schematics_generic"
},
]
22 changes: 22 additions & 0 deletions data/mods/Borsek_teleporters/item_groups.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"id": "science",
"type": "item_group",
"items": [ [ "schematics_teleportation", 1 ] ]
},
{
"id": "schematics",
"type": "item_group",
"items": [ [ "schematics_teleportation", 10 ] ]
},
{
"id": "books_bank_vault",
"type": "item_group",
"items": [ [ "schematics_teleportation", 10 ] ]
},
{
"id": "teleport",
"type": "item_group",
"items": [ [ "schematics_teleportation", 10 ] ]
}
]
10 changes: 2 additions & 8 deletions data/mods/Borsek_teleporters/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,8 @@ local storage = game.mod_storage[ game.current_mod ]
--Feature frenzy <- not done
- can draw vehicle power to charge stations
- removable bases and anchors
- add book that teaches this tech
- make item graphics/switch to better stuff than a fridge or log
- personal teleporter costs a teleporter, 5 proc units, assorted (s)crap, high-cap heavy battery as fuel
- base costs 10 advanced solar panels, 5 teleporters, teleporter controls (50 proc units, 5 antennae, heavy frame, assorted (s)crap
- target anchor costs a solar panel, heavy frame
- removable bases and anchors (requires saving of abs_ms, function to remove it)
- add book spawn to labs <- ask if done with itemgroups
]]--

Expand Down
2 changes: 1 addition & 1 deletion data/mods/Borsek_teleporters/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id": "teleportation_tech",
"name": "Teleportation",
"authors": [ "Borsek" ],
"description": "Add craftable and buildable teleporters for use (with vehicles in the future) and static bases.",
"description": "Add craftable and buildable teleporters for use with vehicles and static bases.",
"category": "content",
"obsolete": false,
"lua_api_version": 1,
Expand Down
75 changes: 75 additions & 0 deletions data/mods/Borsek_teleporters/recipes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[
{
"result": "teleporter_controller",
"type": "recipe",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "electronics", 7 ],
"difficulty": 7,
"time": 10000,
"decomp_learn": 3,
"reversible": true,
"book_learn": [ [ "schematics_teleportation", 7 ] ],
"using": [ [ "soldering_standard", 15 ], [ "surface_heat", 10 ] ],
"components": [ [ [ "teleporter", 1 ] ],
[ [ "plastic_chunk", 4 ] ],
[ [ "cable", 2 ] ],
[ [ "scrap", 2 ] ],
[ [ "adhesive", 1, "LIST" ] ],
[ [ "amplifier", 2 ] ],
[ [ "antenna", 1 ] ],
[ [ "receiver", 1 ] ],
[ [ "processor", 5 ] ],
[ [ "RAM", 1 ] ],
[ [ "e_scrap", 10 ] ] ]
},
{
"result": "teleporter_station_undeployed",
"type": "recipe",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "electronics", 9 ],
"difficulty": 9,
"time": 10000,
"decomp_learn": 3,
"reversible": true,
"book_learn": [ [ "schematics_teleportation", 9 ] ],
"using": [ [ "soldering_standard", 150 ], [ "welding_standard", 500 ] ],
"components": [ [ [ "teleporter", 5 ] ],
[ [ "solar_panel_v2", 5 ] ],
[ [ "plastic_chunk", 12 ] ],
[ [ "processor", 50 ] ],
[ [ "hdframe", 1 ] ],
[ [ "adhesive", 10, "LIST" ] ],
[ [ "antenna", 3 ] ],
[ [ "receiver", 3 ] ],
[ [ "RAM", 10 ] ],
[ [ "e_scrap", 30 ] ],
[ [ "sheet_metal_small", 5 ] ] ]
},
{
"result": "teleporter_anchor_undeployed",
"type": "recipe",
"category": "CC_ELECTRONIC",
"subcategory": "CSC_ELECTRONIC_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "electronics", 8 ],
"difficulty": 8,
"time": 10000,
"decomp_learn": 3,
"reversible": true,
"book_learn": [ [ "schematics_teleportation", 8 ] ],
"using": [ [ "soldering_standard", 150 ], [ "welding_standard", 500 ] ],
"components": [ [ [ "solar_panel_v2", 1 ] ],
[ [ "processor", 1 ] ],
[ [ "plastic_chunk", 4 ] ],
[ [ "hdframe", 1 ] ],
[ [ "adhesive", 1, "LIST" ] ],
[ [ "antenna", 1 ] ],
[ [ "receiver", 1 ] ],
[ [ "RAM", 1 ] ],
[ [ "e_scrap", 3 ] ] ]
}
]

0 comments on commit c63c38d

Please sign in to comment.