forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added plastic explosive wire(s). It has a single wire which when c…
…ut/pulsed will cause it to explode. Yeah you can attach a signaler to it. - Gave the c4 a little bit more power. - Added a new icon for the staff of animation. Created by Teh Wolf. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5698 316c924e-a436-60f5-8080-3fe189b3f50e
- Loading branch information
giacomand@gmail.com
committed
Feb 13, 2013
1 parent
310fd67
commit d2a41ee
Showing
15 changed files
with
101 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/datum/wires/explosive | ||
wire_count = 1 | ||
|
||
var/const/WIRE_EXPLODE = 1 | ||
|
||
/datum/wires/explosive/proc/explode() | ||
return | ||
|
||
/datum/wires/explosive/UpdatePulsed(var/index) | ||
switch(index) | ||
if(WIRE_EXPLODE) | ||
explode() | ||
|
||
/datum/wires/explosive/UpdateCut(var/index, var/mended) | ||
switch(index) | ||
if(WIRE_EXPLODE) | ||
if(!mended) | ||
explode() | ||
|
||
/datum/wires/explosive/plastic | ||
holder_type = /obj/item/weapon/plastique | ||
|
||
/datum/wires/explosive/plastic/CanUse(var/mob/living/L) | ||
var/obj/item/weapon/plastique/P = holder | ||
if(P.open_panel) | ||
return 1 | ||
return 0 | ||
|
||
/datum/wires/explosive/plastic/explode() | ||
var/obj/item/weapon/plastique/P = holder | ||
P.explode(get_turf(P)) | ||
|
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
Binary file not shown.
Binary file not shown.
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