-
Notifications
You must be signed in to change notification settings - Fork 55
Adds crafting recipes for the new guns, and makes legacy guns uncraftable #355
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
Closed
genessee-forgot-his-password-again
wants to merge
28
commits into
PersistentSS13:dev
from
genessee-forgot-his-password-again:craftable-guns
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
08f1fab
woohoo
genessee-forgot-his-password-again cfe2d2c
Update boltaction.dm
genessee-forgot-his-password-again 4032cde
Update revolver.dm
genessee-forgot-his-password-again 30f0f9f
Update shotgun.dm
genessee-forgot-his-password-again a88e0a6
Update boltaction.dm
genessee-forgot-his-password-again cc1f253
Update pistol.dm
genessee-forgot-his-password-again 7bb6abb
Update pistol_gold.dm
genessee-forgot-his-password-again 5a125a4
Update revolver.dm
genessee-forgot-his-password-again 066bc03
Update shotgun_db.dm
genessee-forgot-his-password-again 0d9d239
Update shotgun_pump.dm
genessee-forgot-his-password-again 50ed17a
Update lasrifle.dm
genessee-forgot-his-password-again 672da90
Update lasrifle.dm
genessee-forgot-his-password-again 82226f4
Update laspistol.dm
genessee-forgot-his-password-again 08faf2a
Add files via upload
genessee-forgot-his-password-again e85a242
Update designs_weapons.dm
genessee-forgot-his-password-again 595c11f
Update designs_overrides.dm
genessee-forgot-his-password-again aa06a25
protolathe can now use wood
genessee-forgot-his-password-again 8b63280
Update fabricator_protolathe.dm
genessee-forgot-his-password-again 05f9d6e
Delete designs_overrides.dm
genessee-forgot-his-password-again fbb6365
protolathe override
genessee-forgot-his-password-again 967f7d2
Add files via upload
genessee-forgot-his-password-again 6f6feaa
Update _persistence.dme
genessee-forgot-his-password-again 7988995
Update _persistence.dme
genessee-forgot-his-password-again 31b4025
revert original nebula protolathe file
genessee-forgot-his-password-again aa54eda
Update fabricator_protolathe.dm
genessee-forgot-his-password-again 8ade556
Update fabricator_protolathe.dm
genessee-forgot-his-password-again f64dd05
Update shotgun_pump.dm
genessee-forgot-his-password-again fd82afd
Update overrides.dm
genessee-forgot-his-password-again File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
39 changes: 39 additions & 0 deletions
39
mods/persistence/modules/fabrication/designs/protolathe/designs_weapons.dm
This file contains hidden or 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 @@ | ||
| // handmade tier (while not actually handmade, they're generally very cheap and use simple materials) | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier0/bolt_action | ||
| path = /obj/item/gun/projectile/bolt_action/handmade/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier0/revolver | ||
| path = /obj/item/gun/projectile/revolver/handmade/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier0/shotgun | ||
| path = /obj/item/gun/projectile/shotgun/handmade/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier0/laser_rifle | ||
| path = /obj/item/gun/energy/laser/rifle/handmade | ||
|
|
||
| // simple tier (most use at least a little bit of plasteel, aluminum, or titanium, but not much) | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/bolt_action | ||
| path = /obj/item/gun/projectile/bolt_action/simple/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/pistol | ||
| path = /obj/item/gun/projectile/pistol/simple/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/pistol_golden | ||
| path = /obj/item/gun/projectile/pistol/simple/golden/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/revolver | ||
| path = /obj/item/gun/projectile/revolver/simple/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/shotgun_double | ||
| path = /obj/item/gun/projectile/shotgun/simple/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/shotgun_pump | ||
| path = /obj/item/gun/projectile/shotgun/pump/simple/empty | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/laser_rifle | ||
| path = /obj/item/gun/energy/laser/rifle/simple | ||
|
|
||
| /datum/fabricator_recipe/protolathe/weapon/tier1/laser_pistol | ||
| path = /obj/item/gun/energy/laser/pistol/simple |
16 changes: 16 additions & 0 deletions
16
mods/persistence/modules/fabrication/fabricator_protolathe.dm
This file contains hidden or 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,16 @@ | ||
| /obj/machinery/fabricator/protolathe | ||
| base_storage_capacity = list( | ||
| /decl/material/solid/metal/steel = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/metal/aluminium = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/metal/titanium = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/plastic = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/glass = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/fiberglass = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/metal/gold = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/metal/silver = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/metal/uranium = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/gemstone/diamond = SHEET_MATERIAL_AMOUNT * 100, | ||
| /decl/material/solid/wood = SHEET_MATERIAL_AMOUNT * 100 | ||
| ) | ||
|
|
||
| // override to allow protolathes to accept wood + titanium - used for gunsmithing |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,40 @@ | ||
| // bogus material tech for items in order to prevent them from being researchable | ||
|
|
||
| /obj/item/gun/launcher/syringe/rapid | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/temperature | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/grenade/anti_photon | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/confuseray | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/gun/nuclear | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/lasercannon | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/xray | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/launcher/grenade | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/magnetic/railgun/flechette | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/toxgun | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/energy/decloner | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/projectile/automatic/smg | ||
| origin_tech = "{'wormholes':1337}" | ||
|
|
||
| /obj/item/gun/projectile/automatic/assault_rifle | ||
| origin_tech = "{'wormholes':1337}" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.