Skip to content

Commit

Permalink
FIX: Undestructuble and Unrepairable vendomates now work properly (#3606
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ErdGinalD authored Sep 25, 2023
1 parent ae574b7 commit 970501e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _maps/map_files/Delta/delta.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -80063,7 +80063,7 @@
},
/area/storage/primary)
"mJJ" = (
/obj/machinery/vending/paivendor,
/obj/machinery/vending/pai,
/turf/simulated/floor/plasteel{
dir = 9;
icon_state = "purple"
Expand Down
3 changes: 2 additions & 1 deletion code/game/machinery/constructable_frame.dm
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ to destroy them and players will be able to make replacements.
"Departament Cargo ClothesMate" = /obj/machinery/vending/clothing/departament/cargo,
"Departament Law ClothesMate" = /obj/machinery/vending/clothing/departament/law,
"Service Departament ClothesMate Botanical" = /obj/machinery/vending/clothing/departament/service/botanical,
"Service Departament ClothesMate Chaplain" = /obj/machinery/vending/clothing/departament/service/chaplain,)
"Service Departament ClothesMate Chaplain" = /obj/machinery/vending/clothing/departament/service/chaplain,
"RoboFriends" = /obj/machinery/vending/pai,)

/obj/item/circuitboard/vendor/screwdriver_act(mob/user, obj/item/I)
. = TRUE
Expand Down
11 changes: 6 additions & 5 deletions code/game/machinery/vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@
req_access = list(ACCESS_SYNDICATE)

/obj/machinery/vending/coffee
name = "\improper Hot Drinks machine"
name = "\improper Solar's Best Hot Drinks"
desc = "A vending machine which dispenses hot drinks."
ads_list = list("Выпейте!","Выпьем!","На здоровье!","Не хотите горячего супчику?","Я бы убил за чашечку кофе!","Лучшие зёрна в галактике","Для Вас — только лучшие напитки","М-м-м-м… Ничто не сравнится с кофе","Я люблю кофе, а Вы?","Кофе помогает работать!","Возьмите немного чайку","Надеемся, Вы предпочитаете лучшее!","Отведайте наш новый шоколад!","Admin conspiracies")
icon_state = "coffee"
Expand Down Expand Up @@ -1081,7 +1081,7 @@


/obj/machinery/vending/cigarette
name = "cigarette machine"
name = "ShadyCigs Deluxe"
desc = "If you want to get cancer, might as well do it in style."
slogan_list = list("Космосигареты весьма хороши на вкус, какими они и должны быть","I'd rather toolbox than switch.","Затянитесь!","Не верьте исследованиям — курите!")
ads_list = list("Наверняка не очень-то и вредно для Вас!","Не верьте учёным!","На здоровье!","Не бросайте курить, купите ещё!","Затянитесь!","Никотиновый рай","Лучшие сигареты с 2150 года","Сигареты с множеством наград")
Expand Down Expand Up @@ -2486,9 +2486,9 @@
refill_canister = /obj/item/vending_refill/nta


/obj/machinery/vending/paivendor
name = "\improper PAI Vendor machine"
desc = "Wonderful vendor of friends"
/obj/machinery/vending/pai
name = "\improper RoboFriends"
desc = "Wonderful vendor of PAI friends"
icon_state = "paivend"
ads_list = list("А вы любите нас?","Мы твои друзья!","Эта покупка войдет в историю","Я ПАИ простой, купишь меня, а я тебе друга!","Спасибо за покупку.")
resistance_flags = FIRE_PROOF
Expand Down Expand Up @@ -2516,3 +2516,4 @@
/obj/item/pai_cartridge/reset = 500,
/obj/item/pai_cartridge/memory = 350
)
refill_canister = /obj/item/vending_refill/pai
3 changes: 3 additions & 0 deletions code/game/objects/items/weapons/vending_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,6 @@
/obj/item/vending_refill/nta
machine_name = "NT Ammunition"
icon_state = "refill_nta"

/obj/item/vending_refill/pai
machine_name = "RoboFriends"

0 comments on commit 970501e

Please sign in to comment.