CHOMPStation Casino Port (#11301)

* Create casino.dmi

* Base Commit

* Secondary Commit

* Third Commit

* Final Commit

* Final Final Commit

* Update casino_book.dm

* Update casino_cards.dm

* Update casino_cards.dm

* Update casinocash.dm

* The Claaaaaw

* Power Fix

* fix
This commit is contained in:
Ghost Actual
2021-08-07 17:32:35 -04:00
committed by GitHub
parent 08c07a596a
commit 3018ff04b5
32 changed files with 2547 additions and 26 deletions
@@ -139,3 +139,61 @@
desc = "A stylish wallet typically used by women."
icon_state = "girl_wallet"
item_state_slots = list(slot_r_hand_str = "wowallet", slot_l_hand_str = "wowallet")
//Casino Wallet
/obj/item/weapon/storage/wallet/casino
name = "casino wallet"
desc = "A fancy casino wallet with flashy lights, oooh~"
icon = 'icons/obj/casino.dmi'
icon_state = "casinowallet_black"
can_hold = list(
/obj/item/weapon/spacecash,
/obj/item/weapon/card,
/obj/item/clothing/mask/smokable/cigarette/,
/obj/item/device/flashlight/pen,
/obj/item/device/tape,
/obj/item/weapon/cartridge,
/obj/item/device/encryptionkey,
/obj/item/seeds,
/obj/item/stack/medical,
/obj/item/weapon/coin,
/obj/item/weapon/dice,
/obj/item/weapon/disk,
/obj/item/weapon/implanter,
/obj/item/weapon/flame/lighter,
/obj/item/weapon/flame/match,
/obj/item/weapon/forensics,
/obj/item/weapon/glass_extra,
/obj/item/weapon/haircomb,
/obj/item/weapon/hand,
/obj/item/weapon/key,
/obj/item/weapon/lipstick,
/obj/item/weapon/paper,
/obj/item/weapon/pen,
/obj/item/weapon/photo,
/obj/item/weapon/reagent_containers/dropper,
/obj/item/weapon/sample,
/obj/item/weapon/tool/screwdriver,
/obj/item/weapon/stamp,
/obj/item/clothing/accessory/permit,
/obj/item/clothing/accessory/badge,
/obj/item/weapon/makeover,
/obj/item/weapon/spacecasinocash,
/obj/item/weapon/casino_platinum_chip,
/obj/item/weapon/deck
)
/obj/item/weapon/storage/wallet/casino/verb/toggle_design()
set category = "Object"
set name = "Toggle design"
set src in usr
if (icon_state == "casinowallet_black")
icon_state = "casinowallet_brown"
return
if (icon_state == "casinowallet_brown")
icon_state = "casinowallet_white"
return
else
icon_state = "casinowallet_black"
+15 -3
View File
@@ -2,10 +2,22 @@
/obj/structure/dancepole
name = "dance pole"
desc = "Engineered for your entertainment"
icon = 'icons/obj/objects_vr.dmi'
icon_state = "dancepole"
icon = 'icons/obj/casino.dmi'
icon_state = "dance_pole"
density = FALSE
anchored = TRUE
density = 0
/obj/structure/dancepole/attack_hand(mob/user)
dance(user)
user.spin(32,2)
..()
/obj/structure/dancepole/proc/dance(mob/user)
if(layer == BELOW_MOB_LAYER)
layer = ABOVE_MOB_LAYER
else
layer = BELOW_MOB_LAYER
/obj/structure/dancepole/attackby(var/obj/item/O as obj, var/mob/user as mob)
if(O.is_screwdriver())
@@ -22,4 +34,4 @@
if(!src) return
to_chat(user, "<span class='notice'>You dissasembled \the [src]!</span>")
new /obj/item/stack/material/steel(src.loc, 1)
qdel(src)
qdel(src)
@@ -364,3 +364,30 @@
/obj/item/weapon/computer_hardware/card_slot = 40,
/obj/item/weapon/computer_hardware/network_card/advanced = 40
)
/obj/structure/salvageable/slotmachine1
name = "broken slot machine"
icon_state = "slot1"
salvageable_parts = list(
/obj/item/stack/cable_coil{amount = 5} = 90,
/obj/item/weapon/stock_parts/console_screen = 90,
/obj/item/stack/cable_coil{amount = 5} = 90,
/obj/item/stack/material/glass{amount = 5} = 90,
/obj/item/weapon/stock_parts/capacitor = 60,
/obj/item/weapon/stock_parts/capacitor = 60,
/obj/item/weapon/computer_hardware/network_card/advanced = 40
)
/obj/structure/salvageable/slotmachine2
name = "broken slot machine"
icon_state = "slot2"
salvageable_parts = list(
/obj/item/stack/cable_coil{amount = 5} = 90,
/obj/item/weapon/stock_parts/console_screen = 90,
/obj/item/stack/cable_coil{amount = 5} = 90,
/obj/item/stack/material/glass{amount = 5} = 90,
/obj/item/weapon/stock_parts/capacitor = 60,
/obj/item/weapon/stock_parts/capacitor = 60,
/obj/item/weapon/computer_hardware/network_card/advanced = 40
)