mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Tweaks/fixes and greyscale icons.
This commit is contained in:
@@ -37,7 +37,7 @@ var/datum/antagonist/highlander/highlanders
|
|||||||
player.equip_to_slot_or_del(new /obj/item/clothing/under/kilt(player), slot_w_uniform)
|
player.equip_to_slot_or_del(new /obj/item/clothing/under/kilt(player), slot_w_uniform)
|
||||||
player.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/captain(player), slot_l_ear)
|
player.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/captain(player), slot_l_ear)
|
||||||
player.equip_to_slot_or_del(new /obj/item/clothing/head/beret(player), slot_head)
|
player.equip_to_slot_or_del(new /obj/item/clothing/head/beret(player), slot_head)
|
||||||
player.equip_to_slot_or_del(new /obj/item/weapon/claymore(player), slot_l_hand)
|
player.equip_to_slot_or_del(new /obj/item/weapon/material/claymore(player), slot_l_hand)
|
||||||
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/combat(player), slot_shoes)
|
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/combat(player), slot_shoes)
|
||||||
player.equip_to_slot_or_del(new /obj/item/weapon/pinpointer(get_turf(player)), slot_l_store)
|
player.equip_to_slot_or_del(new /obj/item/weapon/pinpointer(get_turf(player)), slot_l_store)
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
new /obj/item/weapon/book/tome(loc)
|
new /obj/item/weapon/book/tome(loc)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
/obj/item/weapon/claymore/cultify()
|
/obj/item/weapon/material/claymore/cultify()
|
||||||
new /obj/item/weapon/melee/cultblade(loc)
|
new /obj/item/weapon/melee/cultblade(loc)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
* Utensils
|
* Utensils
|
||||||
*/
|
*/
|
||||||
/obj/item/weapon/material/kitchen/utensil
|
/obj/item/weapon/material/kitchen/utensil
|
||||||
force = 5.0
|
force = 5
|
||||||
w_class = 1.0
|
w_class = 1
|
||||||
throwforce = 5.0
|
throwforce = 5
|
||||||
throw_speed = 3
|
throw_speed = 3
|
||||||
throw_range = 5
|
throw_range = 5
|
||||||
flags = CONDUCT
|
flags = CONDUCT
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
var/loaded //Descriptive string for currently loaded food object.
|
var/loaded //Descriptive string for currently loaded food object.
|
||||||
|
|
||||||
/obj/item/weapon/material/kitchen/utensil/New()
|
/obj/item/weapon/material/kitchen/utensil/New()
|
||||||
|
..()
|
||||||
if (prob(60))
|
if (prob(60))
|
||||||
src.pixel_y = rand(0, 4)
|
src.pixel_y = rand(0, 4)
|
||||||
|
|
||||||
create_reagents(5)
|
create_reagents(5)
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -38,13 +38,9 @@
|
|||||||
if (reagents.total_volume > 0)
|
if (reagents.total_volume > 0)
|
||||||
reagents.trans_to_mob(M, reagents.total_volume, CHEM_INGEST)
|
reagents.trans_to_mob(M, reagents.total_volume, CHEM_INGEST)
|
||||||
if(M == user)
|
if(M == user)
|
||||||
for(var/mob/O in viewers(M, null))
|
M.visible_message("<span class='notice'>\The [user] eats some [loaded] from \the [src].</span>")
|
||||||
O.show_message(text("\blue [] eats some [] from \the [].", user, loaded, src), 1)
|
|
||||||
M.reagents.add_reagent("nutriment", 1)
|
|
||||||
else
|
else
|
||||||
for(var/mob/O in viewers(M, null))
|
M.visible_message("<span class='notice'>\The [user] feeds some [loaded] to \the [M] with \the [src].</span>")
|
||||||
O.show_message(text("\blue [] feeds [] some [] from \the []", user, M, loaded, src), 1)
|
|
||||||
M.reagents.add_reagent("nutriment", 1)
|
|
||||||
playsound(M.loc,'sound/items/eatfood.ogg', rand(10,40), 1)
|
playsound(M.loc,'sound/items/eatfood.ogg', rand(10,40), 1)
|
||||||
overlays.Cut()
|
overlays.Cut()
|
||||||
return
|
return
|
||||||
@@ -80,7 +76,7 @@
|
|||||||
sharp = 1
|
sharp = 1
|
||||||
edge = 1
|
edge = 1
|
||||||
|
|
||||||
suicide_act(mob/user)
|
/obj/item/weapon/material/kitchen/utensil/knife/suicide_act(mob/user)
|
||||||
viewers(user) << pick("\red <b>[user] is slitting \his wrists with the [src.name]! It looks like \he's trying to commit suicide.</b>", \
|
viewers(user) << pick("\red <b>[user] is slitting \his wrists with the [src.name]! It looks like \he's trying to commit suicide.</b>", \
|
||||||
"\red <b>[user] is slitting \his throat with the [src.name]! It looks like \he's trying to commit suicide.</b>", \
|
"\red <b>[user] is slitting \his throat with the [src.name]! It looks like \he's trying to commit suicide.</b>", \
|
||||||
"\red <b>[user] is slitting \his stomach open with the [src.name]! It looks like \he's trying to commit seppuku.</b>")
|
"\red <b>[user] is slitting \his stomach open with the [src.name]! It looks like \he's trying to commit seppuku.</b>")
|
||||||
@@ -119,6 +115,7 @@
|
|||||||
throw_range = 7
|
throw_range = 7
|
||||||
w_class = 3.0
|
w_class = 3.0
|
||||||
attack_verb = list("bashed", "battered", "bludgeoned", "thrashed", "whacked") //I think the rollingpin attackby will end up ignoring this anyway.
|
attack_verb = list("bashed", "battered", "bludgeoned", "thrashed", "whacked") //I think the rollingpin attackby will end up ignoring this anyway.
|
||||||
|
default_material = "wood"
|
||||||
|
|
||||||
/obj/item/weapon/material/kitchen/rollingpin/attack(mob/living/M as mob, mob/living/user as mob)
|
/obj/item/weapon/material/kitchen/rollingpin/attack(mob/living/M as mob, mob/living/user as mob)
|
||||||
if ((CLUMSY in user.mutations) && prob(50))
|
if ((CLUMSY in user.mutations) && prob(50))
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
throw_range = 4
|
throw_range = 4
|
||||||
throwforce = 7
|
throwforce = 7
|
||||||
attack_verb = list("patted", "tapped")
|
attack_verb = list("patted", "tapped")
|
||||||
applies_material_colour = 1
|
|
||||||
|
|
||||||
/obj/item/weapon/material/butterfly/update_force()
|
/obj/item/weapon/material/butterfly/update_force()
|
||||||
if(active)
|
if(active)
|
||||||
@@ -70,7 +69,6 @@
|
|||||||
origin_tech = "materials=1"
|
origin_tech = "materials=1"
|
||||||
attack_verb = list("slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
|
attack_verb = list("slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
|
||||||
unbreakable = 1
|
unbreakable = 1
|
||||||
applies_material_colour = 1
|
|
||||||
|
|
||||||
/obj/item/weapon/material/knife/suicide_act(mob/user)
|
/obj/item/weapon/material/knife/suicide_act(mob/user)
|
||||||
viewers(user) << pick("\red <b>[user] is slitting \his wrists with the [src.name]! It looks like \he's trying to commit suicide.</b>", \
|
viewers(user) << pick("\red <b>[user] is slitting \his wrists with the [src.name]! It looks like \he's trying to commit suicide.</b>", \
|
||||||
@@ -89,6 +87,7 @@
|
|||||||
desc = "The unearthly energies that once powered this blade are now dormant."
|
desc = "The unearthly energies that once powered this blade are now dormant."
|
||||||
icon = 'icons/obj/wizard.dmi'
|
icon = 'icons/obj/wizard.dmi'
|
||||||
icon_state = "render"
|
icon_state = "render"
|
||||||
|
applies_material_colour = 0
|
||||||
|
|
||||||
/obj/item/weapon/material/knife/butch
|
/obj/item/weapon/material/knife/butch
|
||||||
name = "butcher's cleaver"
|
name = "butcher's cleaver"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||||
gender = NEUTER
|
gender = NEUTER
|
||||||
|
|
||||||
var/applies_material_colour
|
var/applies_material_colour = 1
|
||||||
var/unbreakable
|
var/unbreakable
|
||||||
var/damage_divisor = 0.5
|
var/damage_divisor = 0.5
|
||||||
var/default_material = DEFAULT_WALL_MATERIAL
|
var/default_material = DEFAULT_WALL_MATERIAL
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
if(!material)
|
if(!material)
|
||||||
qdel(src)
|
qdel(src)
|
||||||
else
|
else
|
||||||
name = "[material.display_name] bat"
|
name = "[material.display_name] [initial(name)]"
|
||||||
health = round(material.integrity/10)
|
health = round(material.integrity/10)
|
||||||
if(applies_material_colour)
|
if(applies_material_colour)
|
||||||
color = material.icon_colour
|
color = material.icon_colour
|
||||||
|
|||||||
@@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
var/obj/item/weapon/material/twohanded/offhand/O = new(user) ////Let's reserve his other hand~
|
var/obj/item/weapon/material/twohanded/offhand/O = new(user) ////Let's reserve his other hand~
|
||||||
O.name = "[base_name] - offhand"
|
O.name = "[base_name] - offhand"
|
||||||
O.desc = "Your second grip on the [base_name]"
|
O.desc = "Your second grip on the [base_name]."
|
||||||
user.put_in_inactive_hand(O)
|
user.put_in_inactive_hand(O)
|
||||||
|
|
||||||
if(istype(user,/mob/living/carbon/human))
|
if(istype(user,/mob/living/carbon/human))
|
||||||
@@ -143,6 +143,7 @@
|
|||||||
slot_flags = SLOT_BACK
|
slot_flags = SLOT_BACK
|
||||||
force_wielded = 30
|
force_wielded = 30
|
||||||
attack_verb = list("attacked", "chopped", "cleaved", "torn", "cut")
|
attack_verb = list("attacked", "chopped", "cleaved", "torn", "cut")
|
||||||
|
applies_material_colour = 0
|
||||||
|
|
||||||
/obj/item/weapon/material/twohanded/fireaxe/afterattack(atom/A as mob|obj|turf|area, mob/user as mob, proximity)
|
/obj/item/weapon/material/twohanded/fireaxe/afterattack(atom/A as mob|obj|turf|area, mob/user as mob, proximity)
|
||||||
if(!proximity) return
|
if(!proximity) return
|
||||||
@@ -173,6 +174,7 @@
|
|||||||
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
|
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
|
||||||
sharp = 1
|
sharp = 1
|
||||||
edge = 1
|
edge = 1
|
||||||
|
applies_material_colour = 0
|
||||||
|
|
||||||
/obj/item/weapon/material/twohanded/dualsaber/attack(target as mob, mob/living/user as mob)
|
/obj/item/weapon/material/twohanded/dualsaber/attack(target as mob, mob/living/user as mob)
|
||||||
..()
|
..()
|
||||||
|
|||||||
@@ -294,7 +294,7 @@
|
|||||||
new_item.desc = ""
|
new_item.desc = ""
|
||||||
if(19)
|
if(19)
|
||||||
apply_prefix = 0
|
apply_prefix = 0
|
||||||
new_item = new /obj/item/weapon/claymore(src.loc)
|
new_item = new /obj/item/weapon/material/claymore(src.loc)
|
||||||
new_item.force = 10
|
new_item.force = 10
|
||||||
item_type = new_item.name
|
item_type = new_item.name
|
||||||
if(20)
|
if(20)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user