mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 14:37:27 +01:00
Post-test fixes for casino
This commit is contained in:
@@ -323,7 +323,7 @@
|
||||
name = "random drink"
|
||||
desc = "This is a random drink."
|
||||
icon = 'icons/obj/drinks.dmi'
|
||||
icon_state = "whiskeybottle"
|
||||
icon_state = "whiskeybottle1"
|
||||
|
||||
/obj/random/drinkbottle/item_to_spawn()
|
||||
return pick(/obj/item/weapon/reagent_containers/food/drinks/bottle/whiskey,
|
||||
|
||||
@@ -541,7 +541,7 @@
|
||||
desc = "The Sentient Prize Automated Sales Machinery, also known as SPASM! Here one can see who is on sale as sentinet prizes, as well as selling self and also buying prizes."
|
||||
icon = 'icons/obj/casino.dmi'
|
||||
icon_state = "casinoslave_hub_off"
|
||||
density = 1
|
||||
density = 0
|
||||
anchored = 1
|
||||
req_access = list(101)
|
||||
|
||||
@@ -604,7 +604,7 @@
|
||||
C.sentientprizeooc = user.ooc_notes
|
||||
C.name = "Sentient Prize Collar: Available! [user.name] purchaseable at the SPASM!"
|
||||
C.desc = "SPASM collar. The tags shows in flashy colorful text the wearer is [user.name] and is currently available to buy at the Sentient Prize Automated Sales Machinery!"
|
||||
C.icon_state = "casinosentientprize_available"
|
||||
C.icon_state = "casinoslave_available"
|
||||
C.update_icon()
|
||||
collar_list += C
|
||||
|
||||
@@ -649,9 +649,9 @@
|
||||
var/confirm = tgui_alert(usr, "Are you sure you want to wipe [C.sentientprizename] entry?", "Confirm Sentient Prize Release", list("Yes", "No"))
|
||||
if(confirm == "Yes")
|
||||
to_chat(user, "<span class='warning'>[C.sentientprizename] collar has been deleted from registry!</span>")
|
||||
C.icon_state = "casinosentientprize"
|
||||
C.icon_state = "casinoslave"
|
||||
C.update_icon()
|
||||
C.name = "a disabled Sentient Prize Collar: [C.sentientprizename]"
|
||||
C.name = "disabled Sentient Prize Collar: [C.sentientprizename]"
|
||||
C.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [C.sentientprizename], but harsh red text informs you its been disabled."
|
||||
sentientprizes_ckeys_list -= C.sentientprizeckey
|
||||
C.sentientprizeckey = null
|
||||
@@ -695,9 +695,9 @@
|
||||
if(confirm == "Yes")
|
||||
if(safety_ckey == selected_collar.sentientprizeckey)
|
||||
to_chat(user, "<span class='warning'>[selected_collar.sentientprizename] collar has been deleted from registry!</span>")
|
||||
selected_collar.icon_state = "casinosentientprize"
|
||||
selected_collar.icon_state = "casinoslave"
|
||||
selected_collar.update_icon()
|
||||
selected_collar.name = "a disabled Sentient Prize Collar: [selected_collar.sentientprizename]"
|
||||
selected_collar.name = "disabled Sentient Prize Collar: [selected_collar.sentientprizename]"
|
||||
selected_collar.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [selected_collar.sentientprizename], but harsh red text informs you its been disabled."
|
||||
sentientprizes_ckeys_list -= selected_collar.sentientprizeckey
|
||||
selected_collar.sentientprizeckey = null
|
||||
@@ -725,9 +725,9 @@
|
||||
|
||||
if(buystate == "selfbuy")
|
||||
to_chat(user,"<span class='notice'>You put [casinosentientprize_price] credits worth of chips into the SPASM and nullify your collar!</span> ")
|
||||
selected_collar.icon_state = "casinosentientprize"
|
||||
selected_collar.icon_state = "casinoslave"
|
||||
selected_collar.update_icon()
|
||||
selected_collar.name = "a disabled Sentient Prize Collar: [selected_collar.sentientprizename]"
|
||||
selected_collar.name = "disabled Sentient Prize Collar: [selected_collar.sentientprizename]"
|
||||
selected_collar.desc = "A collar worn by sentient prizes registered to a SPASM. The tag says its registered to [selected_collar.sentientprizename], but harsh red text informs you its been disabled."
|
||||
sentientprizes_ckeys_list -= selected_collar.sentientprizeckey
|
||||
selected_collar.sentientprizeckey = null
|
||||
@@ -736,7 +736,7 @@
|
||||
|
||||
if(buystate == "buy")
|
||||
to_chat(user,"<span class='notice'>You put [casinosentientprize_price] credits worth of chips into the SPASM and it pings to inform you bought [selected_collar.sentientprizename]!</span> ")
|
||||
selected_collar.icon_state = "casinosentientprize_owned"
|
||||
selected_collar.icon_state = "casinoslave_owned"
|
||||
selected_collar.update_icon()
|
||||
selected_collar.ownername = user.name
|
||||
selected_collar.name = "Sentient Prize Collar: [selected_collar.sentientprizename] owned by [selected_collar.ownername]!"
|
||||
|
||||
@@ -394,7 +394,7 @@
|
||||
//Casino Sentient Prize Collar
|
||||
|
||||
/obj/item/clothing/accessory/collar/casinosentientprize
|
||||
name = "a disabled Sentient Prize Collar"
|
||||
name = "disabled Sentient Prize Collar"
|
||||
desc = "A collar worn by sentient prizes registered to a SPASM. Although the red text on it shows its disconnected and nonfunctional."
|
||||
|
||||
icon_state = "casinoslave"
|
||||
@@ -411,7 +411,7 @@
|
||||
//keeping it blank so people don't tag and reset collar status
|
||||
|
||||
/obj/item/clothing/accessory/collar/casinosentientprize_fake
|
||||
name = "a Sentient Prize Collar"
|
||||
name = "Sentient Prize Collar"
|
||||
desc = "A collar worn by sentient prizes registered to a SPASM. This one has been disconnected from the system and is now an accessory!"
|
||||
|
||||
icon_state = "casinoslave_owned"
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
h_user.drop_from_inventory(src)
|
||||
h_user.drop_from_inventory(SC)
|
||||
h_user.put_in_hands(SC)
|
||||
user << "<span class='notice'>You combine the casino chips to a stack of [SC.worth] of credits.</span>"
|
||||
user << "<span class='notice'>You combine the casino chips to a stack of [SC.worth] casino credits.</span>"
|
||||
qdel(src)
|
||||
|
||||
/obj/item/weapon/spacecasinocash/update_icon()
|
||||
@@ -72,7 +72,7 @@
|
||||
name = "[worth] casino credit\s"
|
||||
if(worth in list(1000,500,200,100,50,20,10,1))
|
||||
icon_state = "spacecasinocash[worth]"
|
||||
desc = "It's a stack of casino chips with a combined value of [worth] credits."
|
||||
desc = "It's a stack of casino chips with a combined value of [worth] casino credits."
|
||||
return
|
||||
var/sum = src.worth
|
||||
var/num = 0
|
||||
@@ -93,7 +93,7 @@
|
||||
M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
|
||||
banknote.transform = M
|
||||
src.overlays += banknote
|
||||
src.desc = "They are worth [worth] of credits."
|
||||
src.desc = "They are worth [worth] casino credits."
|
||||
|
||||
/obj/item/weapon/spacecasinocash/proc/adjust_worth(var/adjust_worth = 0, var/update = 1)
|
||||
worth += adjust_worth
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"ay" = (/obj/structure/flora/pottedplant/tall,/obj/effect/floor_decal/spline/plain{dir = 4},/turf/simulated/floor/carpet/turcarpet,/area/submap/casino_event)
|
||||
"az" = (/turf/simulated/floor/carpet/brown,/area/submap/casino_event)
|
||||
"aA" = (/obj/structure/table/woodentable,/obj/machinery/light{dir = 8},/obj/effect/floor_decal/spline/plain{dir = 4},/turf/simulated/floor/carpet/turcarpet,/area/submap/casino_event)
|
||||
"aB" = (/obj/machinery/door/airlock{name = "Arcade"},/obj/item/tape/engineering,/turf/simulated/floor/carpet/retro,/area/submap/casino_event)
|
||||
"aB" = (/obj/machinery/door/airlock{name = "Arcade"},/turf/simulated/floor/carpet/retro,/area/submap/casino_event)
|
||||
"aC" = (/obj/structure/bed/chair/comfy/black{dir = 4},/turf/simulated/floor/carpet/retro,/area/submap/casino_event)
|
||||
"aD" = (/obj/structure/table/gamblingtable,/turf/simulated/floor/carpet/retro,/area/submap/casino_event)
|
||||
"aE" = (/obj/structure/bed/chair/comfy/black{dir = 8},/turf/simulated/floor/carpet/retro,/area/submap/casino_event)
|
||||
@@ -454,6 +454,7 @@
|
||||
"iL" = (/turf/space,/area/submap/casino_event)
|
||||
"iM" = (/obj/structure/casino_table/craps,/obj/machinery/light/floortube{dir = 8},/obj/item/weapon/dice{pixel_x = 4; pixel_y = 6},/obj/item/weapon/storage/dicecup,/turf/simulated/floor/carpet/brown,/area/submap/casino_event)
|
||||
"iN" = (/obj/structure/sink{pixel_y = 20},/obj/structure/mirror{pixel_y = 38},/turf/simulated/floor/tiled/white,/area/submap/casino_event)
|
||||
"iO" = (/obj/effect/floor_decal/spline/plain{dir = 1},/turf/simulated/floor/wood,/area/submap/casino_event)
|
||||
"iP" = (/obj/structure/casino_table/blackjack_m{dir = 1},/obj/item/weapon/deck/cards/casino,/turf/simulated/floor/carpet/bcarpet,/area/submap/casino_event)
|
||||
"iQ" = (/obj/structure/casino_table/blackjack_m{dir = 1},/obj/item/weapon/deck/cards/casino,/turf/simulated/floor/carpet/gaycarpet,/area/submap/casino_event)
|
||||
"iR" = (/obj/structure/casino_table/blackjack_m{dir = 1},/obj/item/weapon/deck/cards/casino,/turf/simulated/floor/carpet/turcarpet,/area/submap/casino_event)
|
||||
@@ -468,6 +469,8 @@
|
||||
"ja" = (/obj/structure/closet/walllocker_double{dir = 8; name = "Game Cabinet"; pixel_x = -28},/obj/item/weapon/deck/cards/casino,/obj/item/weapon/deck/cards,/turf/simulated/floor/carpet/bcarpet,/area/submap/casino_event)
|
||||
"jb" = (/obj/structure/closet/walllocker_double{dir = 8; name = "Game Cabinet"; pixel_x = -28},/obj/item/weapon/deck/cards/casino,/obj/item/weapon/deck/cards,/turf/simulated/floor/carpet/gaycarpet,/area/submap/casino_event)
|
||||
"jc" = (/obj/structure/closet/walllocker_double{dir = 8; name = "Game Cabinet"; pixel_x = -28},/obj/item/weapon/deck/cards/casino,/obj/item/weapon/deck/cards,/turf/simulated/floor/carpet/turcarpet,/area/submap/casino_event)
|
||||
"jd" = (/obj/effect/floor_decal/spline/plain{dir = 5},/turf/simulated/floor/wood,/area/submap/casino_event)
|
||||
"je" = (/obj/machinery/door/airlock{id_tag = "L7 Room 5"; name = "Private Room 5"},/turf/simulated/floor/wood,/area/submap/casino_event)
|
||||
"jn" = (/obj/machinery/door/airlock{name = "Tournament Room"},/turf/simulated/floor/carpet/blue2,/area/submap/casino_event)
|
||||
"jq" = (/obj/structure/flora/pottedplant/tall,/turf/simulated/floor/carpet/brown,/area/submap/casino_event)
|
||||
"jx" = (/obj/machinery/vending/foodasian,/turf/simulated/floor/lino,/area/submap/casino_event)
|
||||
@@ -551,7 +554,7 @@ iLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLaeePeQeP
|
||||
iLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLaecncncncnaeeVcGcGffaefgcGfhcGfiaeaSaOaeaiaiaiaejAjGjBjAjBjHazazazazazazazazeffjdQazazazazazazazazazazazazdOaefkflfmflflaefofpfqfpfpaefsftfuftftaeiLiLiLiLiLiLaefYiziAiBisfYiziAiBisbqbqaeiLiLiLiLiLiLiLiLiLiLiL
|
||||
iLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLaeaeaeaeaeaeaeeLeLcncnaefyfzcGfAaefBcGfCfDfEaeaPaOaefFfGfHaejCjDjEjIjJjKazdiaUfIdjdOaeaIazerdQdOaeaIazazeffJazazazdPdQazaeflfKfLfKflaefpfMfNfMfpaeftfOfPfOftaeiLiLiLiLiLiLaebqbqiCbqbqbqbqiCbqbqbqbqaeiLiLiLiLiLiLiLiLiLiLiL
|
||||
iLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLaecGcGfQiKiJaeaeaefRaeaeaefSfTaeaeaeezaeaeaeaeaeaeaeaeaeaeaeeNeNeNeNeNeNazdifUaUdjazcOazazazazazcTazazazeffVdQazeffjdQazaefWfXiPfZgaaegbgciQgegfaeggghiRgjgkaeiLiLiLiLiLiLaeaeaeaeaeaeaeaeaeaeaeaeaeaeiLiLiLiLiLiLiLiLiLiLiL
|
||||
iLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLiLaecGcGcGcGcGcGcGcGcGcGglgmgngngogpgqcGgrgpgsglgtgtgtgugvgwgTgtgtgtgtgtgtazazazazazazazazazazazazazazazazefgxazazazerdQazaejaflgyflflaejbfpgzfpfpaejcftgAftftaeiLiLiLiLiLiL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