mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
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:
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user