Skip to content

Commit

Permalink
magiclysm: implement summonable motorcycle (#44496)
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericist authored Oct 1, 2020
1 parent 994a2c3 commit 9edf433
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 0 deletions.
22 changes: 22 additions & 0 deletions data/mods/Magiclysm/Spells/technomancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,28 @@
"max_duration": 9600000,
"duration_increment": 200
},
{
"id": "summon_magic_motorcycle",
"type": "SPELL",
"name": "Summon Mojocycle",
"description": "You're not a cowboy, but on a steel horse you ride regardless.",
"valid_targets": [ "ground" ],
"flags": [ "SOMATIC", "VERBAL", "CONCENTRATE" ],
"effect": "summon_vehicle",
"spell_class": "TECHNOMANCER",
"energy_source": "MANA",
"effect_str": "magic_motorcycle",
"difficulty": 5,
"max_level": 20,
"base_casting_time": 120,
"base_energy_cost": 500,
"min_range": 1,
"max_range": 10,
"range_increment": 1,
"min_duration": 400000,
"max_duration": 9600000,
"duration_increment": 200
},
{
"id": "overcharge_burn",
"type": "SPELL",
Expand Down
1 change: 1 addition & 0 deletions data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
[ "spell_scroll_obfuscated_body", 10 ],
[ "spell_scroll_lava_bomb", 5 ],
[ "spell_scroll_druidic_healing", 20 ],
[ "spell_scroll_summon_magic_motorcycle", 5 ],
[ "bio_sneeze_beam", 50 ]
]
},
Expand Down
8 changes: 8 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -973,5 +973,13 @@
"name": { "str": "Scroll of Knifeshot", "str_pl": "Scrolls of Knifeshot" },
"description": "Emulate a railgun, launching a knife at high speed.",
"use_action": { "type": "learn_spell", "spells": [ "technomancer_knifeshot" ] }
},
{
"type": "BOOK",
"copy-from": "spell_scroll",
"id": "spell_scroll_summon_magic_motorcycle",
"name": { "str": "MICE(R) blueprint" },
"description": "Manafied Infernal Combustion Engine (Rideable)\nDetailed schematics for a motorcycle, that are somehow simultaneously obviously impossible and yet intriguingly intuitive.\nIn one margin, the word 'Mojocycle' has been scrawled in a flowing hand.",
"use_action": { "type": "learn_spell", "spells": [ "summon_magic_motorcycle" ] }
}
]
32 changes: 32 additions & 0 deletions data/mods/Magiclysm/vehicleparts/vehicle_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,37 @@
"id": "orichalcum_frame_break",
"subtype": "collection",
"entries": [ { "item": "orichalcum_lump", "count": [ 4, 6 ] }, { "item": "orichalcum_sliver", "count": [ 4, 6 ] } ]
},
{
"abstract": "mana_engine",
"copy-from": "engine_combustion",
"type": "vehicle_part",
"fuel_type": "mana",
"m2c": 60,
"//": "30% energy efficiency",
"description": "A magically manifested combustion engine. Despite operating entirely off of mana rather than normal fuel, it otherwise functions exactly as a conventional internal combustion engine. Somehow."
},
{
"id": "engine_vtwin_magic",
"copy-from": "mana_engine",
"type": "vehicle_part",
"item": "v2_combustion",
"durability": 200,
"epower": -50,
"power": 37300,
"energy_consumption": 124500,
"folded_volume": "2 L",
"breaks_into": [
{ "item": "steel_lump", "count": [ 10, 20 ] },
{ "item": "steel_chunk", "count": [ 10, 20 ] },
{ "item": "scrap", "count": [ 10, 20 ] }
],
"requirements": {
"install": { "skills": [ [ "mechanics", 2 ] ], "time": "60 m", "using": [ [ "vehicle_bolt", 1 ] ] },
"removal": { "skills": [ [ "mechanics", 2 ] ], "time": "30 m", "using": [ [ "vehicle_bolt", 1 ] ] },
"repair": { "skills": [ [ "mechanics", 3 ] ], "time": "60 m", "using": [ [ "welding_standard", 5 ] ] }
},
"extend": { "flags": [ "FOLDABLE" ] },
"damage_reduction": { "all": 60 }
}
]
16 changes: 16 additions & 0 deletions data/mods/Magiclysm/vehicles/summoned_vehicles.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,22 @@
"diameter": 20,
"width": 10
},
{
"id": "magic_motorcycle",
"type": "vehicle",
"name": "Mojocycle",
"blueprint": [ "o#>o" ],
"parts": [
{ "x": 0, "y": 0, "parts": [ "frame_vertical_2", "saddle_motor", "motorcycle_kickstand" ] },
{ "x": 1, "y": 0, "parts": [ "frame_handle" ] },
{ "x": -1, "y": 0, "parts": [ "frame_vertical", "wheel_mount_light", "wheel_motorbike" ] },
{ "x": 2, "y": 0, "parts": [ "frame_vertical", "wheel_mount_light_steerable", "wheel_motorbike" ] },
{ "x": 0, "y": 0, "parts": [ "controls", "controls_electronic", "vehicle_alarm" ] },
{ "x": 0, "y": 0, "parts": [ "horn_car", "engine_vtwin_magic", "alternator_motorbike" ] },
{ "x": 1, "y": 0, "parts": [ "headlight", "battery_motorbike" ] },
{ "x": -1, "y": 0, "parts": [ "muffler", "box" ] }
]
},
{
"type": "vehicle_part",
"id": "mana_frame",
Expand Down

0 comments on commit 9edf433

Please sign in to comment.