forked from MeteorsDetected/Old-World-Blues
-
Notifications
You must be signed in to change notification settings - Fork 10
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 #2 from animusdev/master
update
- Loading branch information
Showing
85 changed files
with
10,718 additions
and
8,386 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
//currently only used by energy-type guns, that may change in the future. | ||
/obj/item/weapon/cell/device | ||
name = "device power cell" | ||
desc = "A small power cell designed to power handheld devices." | ||
icon_state = "dcell" | ||
item_state = "egg6" | ||
w_class = ITEM_SIZE_SMALL | ||
force = 0 | ||
throw_speed = 5 | ||
throw_range = 7 | ||
maxcharge = 480 | ||
charge_amount = 5 | ||
matter = list("metal" = 350, "glass" = 50) | ||
|
||
/obj/item/weapon/cell/device/weapon | ||
name = "weapon power cell" | ||
desc = "A small power cell designed to power handheld weaponry." | ||
icon_state = "wcell" | ||
maxcharge = 2400 | ||
charge_amount = 20 | ||
|
||
/obj/item/weapon/cell/device/weapon/empty/initialize() | ||
..() | ||
charge = 0 | ||
update_icon() | ||
|
||
/obj/item/weapon/cell/device/weapon/recharge | ||
name = "self-charging weapon power cell" | ||
desc = "A small power cell designed to power handheld weaponry. This one recharges itself." | ||
// icon_state = "wcell" //TODO: Different sprite | ||
self_recharge = TRUE | ||
charge_amount = 120 | ||
charge_delay = 75 | ||
|
||
/obj/item/weapon/cell/device/weapon/recharge/captain | ||
charge_amount = 160 //Recharges a lot more quickly... | ||
charge_delay = 100 //... but it takes a while to get started |
22 changes: 0 additions & 22 deletions
22
...game/objects/items/weapons/power_cells.dm → ...bjects/items/weapons/cells/power_cells.dm
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
Oops, something went wrong.