-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #257 from KittyNoodle/syndiemusket
Modularizes the Laser Musket changes
- Loading branch information
Showing
15 changed files
with
107 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/obj/item/gun/energy/laser/musket/syndicate | ||
name = "syndicate laser musket" | ||
desc = "A powerful laser(?) weapon, its 4 tetradimensional capacitors can hold 2 shots each, totaling to 8 shots. \ | ||
Putting your hand on the control panel gives you a strange tingling feeling, this is probably how you charge it." | ||
icon = 'monkestation/icons/obj/guns/guns.dmi' | ||
icon_state = "musket_syndie" | ||
inhand_icon_state = "musket_syndie" | ||
lefthand_file = 'monkestation/icons/mob/inhands/weapons/guns_lefthand.dmi' | ||
righthand_file = 'monkestation/icons/mob/inhands/weapons/guns_righthand.dmi' | ||
worn_icon_state = "las_musket_syndie" | ||
ammo_type = list(/obj/item/ammo_casing/energy/laser/musket/syndicate) | ||
w_class = WEIGHT_CLASS_NORMAL | ||
/obj/item/gun/energy/laser/musket/syndicate/Initialize(mapload) //it takes two hand slots and costs 12 tc, they deserve fast recharging | ||
. = ..() | ||
AddComponent( \ | ||
/datum/component/gun_crank, \ | ||
charging_cell = get_cell(), \ | ||
charge_amount = 250, \ | ||
cooldown_time = 1.5 SECONDS, \ | ||
charge_sound = 'sound/weapons/laser_crank.ogg', \ | ||
charge_sound_cooldown_time = 1.3 SECONDS, \ | ||
) | ||
|
||
/obj/projectile/beam/laser/musket | ||
damage = 30 | ||
stamina = 45 | ||
|
||
/obj/projectile/beam/laser/musket/prime | ||
damage = 35 | ||
stamina = 60 | ||
|
||
/obj/projectile/beam/disabler/smoothbore/prime | ||
stamina = 65 | ||
|
||
/obj/item/ammo_casing/energy/laser/musket | ||
fire_sound = 'sound/weapons/lasercannonfire.ogg' | ||
|
||
/obj/item/ammo_casing/energy/laser/musket/syndicate | ||
projectile_type = /obj/projectile/beam/laser/musket/syndicate | ||
e_cost = 125 | ||
fire_sound = 'sound/weapons/laser2.ogg' | ||
|
||
/obj/projectile/beam/laser/musket/syndicate | ||
name = "resonant laser" | ||
damage = 30 | ||
stamina = 65 | ||
weak_against_armour = FALSE | ||
armour_penetration = 25 //less powerful than armor piercing rounds | ||
wound_bonus = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/datum/market_item/weapon/smoothbore_disabler_prime | ||
name = "Elite Smoothbore Disabler" | ||
desc = "A rare and sought after disabler often used by Nanotrasen's high command, and historical LARPers." | ||
item = /obj/item/gun/energy/disabler/smoothbore/prime | ||
|
||
price_min = CARGO_CRATE_VALUE * 3 | ||
price_max = CARGO_CRATE_VALUE * 5 | ||
stock_max = 2 | ||
availability_prob = 40 | ||
|
||
/datum/market_item/weapon/pipegun_recipe | ||
name = "Diary of a Dead Assistant" | ||
desc = "Found this book in my Archives, had some barely legible scrabblings about making 'The perfect pipegun'. Figured someone here would buy this." | ||
item = /obj/item/book/granter/crafting_recipe/maint_gun/pipegun_prime | ||
|
||
price_min = CARGO_CRATE_VALUE * 4 | ||
price_max = CARGO_CRATE_VALUE * 5 | ||
stock_max = 1 | ||
availability_prob = 40 | ||
|
||
/datum/market_item/weapon/musket_recipe | ||
name = "Journal of a Space Ranger" | ||
desc = "An old banned book written by an eccentric space ranger, notable for its detailed description of how to make powerful improvised lasers." | ||
item = /obj/item/book/granter/crafting_recipe/maint_gun/laser_musket_prime | ||
|
||
price_min = CARGO_CRATE_VALUE * 4 | ||
price_max = CARGO_CRATE_VALUE * 5 | ||
stock_max = 2 | ||
availability_prob = 40 | ||
|
||
/datum/market_item/weapon/smoothbore_recipe | ||
name = "Old Tome" | ||
desc = "Ahoy Maties, I, Captain Whitebeard, have plundered the ol' Nanotrasen station, among the booty retreived was this here tome about smoothbores. Alas, I have no use for its knowlege, so I am droppin it off here." | ||
item = /obj/item/book/granter/crafting_recipe/maint_gun/smoothbore_disabler_prime | ||
|
||
price_min = CARGO_CRATE_VALUE * 6 | ||
price_max = CARGO_CRATE_VALUE * 8 | ||
stock_max = 1 | ||
availability_prob = 20 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters