Merge pull request #652 from Zuhayr/nerf

Added Nerf weapons to Cargo.
This commit is contained in:
Neerti
2015-12-24 06:47:48 -05:00
10 changed files with 74 additions and 0 deletions
+17
View File
@@ -248,6 +248,23 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
containername = "Wizard costume crate"
group = "Miscellaneous"
/datum/supply_packs/foam_weapons
name = "Foam Weapon Crate"
contains = list(
/obj/item/weapon/material/sword/foam,
/obj/item/weapon/material/sword/foam,
/obj/item/weapon/material/twohanded/baseballbat/foam,
/obj/item/weapon/material/twohanded/baseballbat/foam,
/obj/item/weapon/material/twohanded/spear/foam,
/obj/item/weapon/material/twohanded/spear/foam,
/obj/item/weapon/material/twohanded/fireaxe/foam,
/obj/item/weapon/material/twohanded/fireaxe/foam
)
cost = 80
containertype = /obj/structure/closet/crate
containername = "foam weapon crate"
group = "Miscellaneous"
/datum/supply_packs/mule
name = "MULEbot Crate"
contains = list(/obj/machinery/bot/mulebot)
@@ -0,0 +1,40 @@
/obj/item/weapon/material/twohanded/baseballbat/foam/New(var/newloc)
..(newloc,"foam")
/obj/item/weapon/material/sword/foam
attack_verb = list("bonked","whacked")
force_divisor = 0
unbreakable = 1
/obj/item/weapon/material/twohanded/baseballbat/foam
attack_verb = list("bonked","whacked")
force_wielded = 0
force_divisor = 0
unbreakable = 1
/obj/item/weapon/material/sword/foam/New(var/newloc)
..(newloc,"foam")
/obj/item/weapon/material/twohanded/spear/foam
attack_verb = list("bonked","whacked")
force_wielded = 0
force_divisor = 0
applies_material_colour = 1
base_icon = "spear_mask"
icon_state = "spear_mask0"
unbreakable = 1
/obj/item/weapon/material/twohanded/spear/foam/New(var/newloc)
..(newloc,"foam")
/obj/item/weapon/material/twohanded/fireaxe/foam
attack_verb = list("bonked","whacked")
force_wielded = 0
force_divisor = 0
applies_material_colour = 1
base_icon = "fireaxe_mask"
icon_state = "fireaxe_mask0"
unbreakable = 1
/obj/item/weapon/material/twohanded/fireaxe/foam/New(var/newloc)
..(newloc,"foam")
@@ -194,3 +194,4 @@
hitsound = 'sound/weapons/bladeslice.ogg'
attack_verb = list("attacked", "poked", "jabbed", "torn", "gored")
default_material = "glass"
applies_material_colour = 0
+11
View File
@@ -745,3 +745,14 @@ var/list/name_to_material
flags = MATERIAL_PADDING
ignition_point = T0C+232
melting_point = T0C+300
/material/toy_foam
name = "foam"
display_name = "foam"
use_name = "foam"
flags = MATERIAL_PADDING
ignition_point = T0C+232
melting_point = T0C+300
icon_colour = "#ff9900"
hardness = 1
weight = 1
+4
View File
@@ -0,0 +1,4 @@
author: Zuhayr
delete-after: True
changes:
- rscadd: "Added foam weapons to cargo for LARP shenanigans."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 27 KiB

+1
View File
@@ -758,6 +758,7 @@
#include "code\game\objects\items\weapons\implants\implantuplink.dm"
#include "code\game\objects\items\weapons\material\ashtray.dm"
#include "code\game\objects\items\weapons\material\bats.dm"
#include "code\game\objects\items\weapons\material\foam.dm"
#include "code\game\objects\items\weapons\material\kitchen.dm"
#include "code\game\objects\items\weapons\material\knives.dm"
#include "code\game\objects\items\weapons\material\material_weapons.dm"