This commit is contained in:
kevinz000
2017-06-03 14:00:14 -07:00
parent 77d56288a2
commit cc340cb73b
4 changed files with 22 additions and 17 deletions
+3 -15
View File
@@ -262,26 +262,14 @@
return 0
var/static/inner = inner_outfit
var/static/outer = outer_outfit
for(var/obj/C in gangbanger.contents)
for(var/obj/item/C in gangbanger.contents)
if(C.type == inner_outfit)
. += 2
continue
if(C.type == outer_outfit)
else if(C.type == outer_outfit)
. += 2
continue
switch(C.type)
if(/obj/item/clothing/neck/necklace/dope)
. += 2
if(/obj/item/clothing/head/collectable/petehat/gang)
. += 4
if(/obj/item/clothing/shoes/gang)
. += 6
if(/obj/item/clothing/mask/gskull)
. += 5
if(/obj/item/clothing/gloves/gang)
. += 3
if(/obj/item/weapon/storage/belt/military/gang)
. += 4
. += C.gang_contraband_value()
adjust_influence(gangsta, .)
if(.)
announce_to_mind(gangsta, "<span class='notice'>Your influential choice of clothing has increased your influence by [.] points!</span>")
+13 -2
View File
@@ -118,6 +118,9 @@
name = "pimpin' hat"
desc = "The undisputed king of style."
/obj/item/clothing/head/collectable/petehat/gang/gang_contraband_value()
return 4
/datum/gang_item/clothing/mask
name = "Golden Death Mask"
id = "mask"
@@ -129,6 +132,8 @@
icon_state = "gskull"
desc = "Strike terror, and envy, into the hearts of your enemies."
/obj/item/clothing/mask/gskull/gang_contraband_value()
return 5
/datum/gang_item/clothing/shoes
name = "Bling Boots"
@@ -141,13 +146,15 @@
desc = "Stand aside peasants."
icon_state = "bling"
/obj/item/clothing/shoes/gang/gang_contraband_value()
return 6
/datum/gang_item/clothing/neck
name = "Gold Necklace"
id = "necklace"
cost = 9
item_path = /obj/item/clothing/neck/necklace/dope
/datum/gang_item/clothing/hands
name = "Decorative Brass Knuckles"
id = "hand"
@@ -160,6 +167,9 @@
icon_state = "knuckles"
w_class = 3
/obj/item/clothing/gloves/gang/gang_contraband_value()
return 3
/datum/gang_item/clothing/belt
name = "Badass Belt"
id = "belt"
@@ -173,7 +183,8 @@
desc = "The belt buckle simply reads 'BAMF'."
storage_slots = 1
/obj/item/weapon/storage/belt/military/gang/gang_contraband_value()
return 4
///////////////////
//WEAPONS
+3
View File
@@ -193,3 +193,6 @@
..()
if(unique_rename)
to_chat(user, "<span class='notice'>Use a pen on it to rename it or change its description.</span>")
/obj/proc/gang_contraband_value()
return 0
+3
View File
@@ -164,6 +164,9 @@
icon_state = "bling"
item_color = "bling"
/obj/item/clothing/neck/necklace/dope/gang_contraband_value()
return 2
////////////////
//OONGA BOONGA//
////////////////