Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuke mech Rebalance #673

Merged
merged 9 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code/datums/uplink/uplink_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var/datum/uplink/uplink = new()
var/list/datum/antagonist/antag_roles = list("Exclude", MODE_DEITY) // Antag roles this item is displayed to. If empty, display to all. If it includes 'Exclude", anybody except this role can view it

/datum/uplink_item/item
var/static/MAX_MECH = 1
var/path = null

/datum/uplink_item/proc/buy(var/obj/item/device/uplink/U, var/mob/user)
Expand Down
23 changes: 14 additions & 9 deletions infinity/code/datums/uplink/badassery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,24 @@
antag_roles = list(MODE_MERCENARY)
path = /obj/item/storage/backpack/dufflebag/syndie_kit/heavy

/datum/uplink_item/item/badassery/mech
name = "Syndicate Mech"
desc = "Special heavy mech with cool weaponery. It has: taser, laser and shield generator. Ideal for murderbone."
item_cost = DEFAULT_TELECRYSTAL_AMOUNT * 2
antag_roles = list(MODE_MERCENARY)
path = /mob/living/exosuit/premade/heavy/merc

/datum/uplink_item/item/badassery/mech
name = "Combat Mech"
var/BOUGHT_MECH = 0
AmShegars marked this conversation as resolved.
Show resolved Hide resolved
desc = "A terrible and at the same time beautiful combat mech to destroy all living things in your way. Comes with special plasma rifle, machinegun and shielding drone. Also, it is almoust EMP-proof!"
item_cost = DEFAULT_TELECRYSTAL_AMOUNT * 2
item_cost = 300
antag_roles = list(MODE_MERCENARY)
path = /mob/living/exosuit/premade/merc

/datum/uplink_item/item/badassery/mech/get_goods(var/obj/item/device/uplink/U, var/loc)
if(MAX_MECH == 0)
SuhEugene marked this conversation as resolved.
Show resolved Hide resolved
U.visible_message("[U.loc] Превышен лимит бронетехники для данной миссии. Обьявите войну для дополнительной единицы.\"")
return new /obj/item/stack/telecrystal(loc, 300)
else
MAX_MECH--
BOUGHT_MECH++
return new /mob/living/exosuit/premade/merc(loc,)
if(BOUGHT_MECH == 2)
command_announcement.Announce("В секторе была замечена телепортация большого количества бронетехники Мародёров Горлекса.", "Показания датчиков [station_name()]" , msg_sanitized = 1, zlevels = GLOB.using_map.station_levels)


/datum/uplink_item/item/badassery/tobacco
name = "Strong tobacco"
Expand Down
1 change: 1 addition & 0 deletions infinity/code/datums/uplink/services.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
U.visible_message("[U.loc] buzzez and declares, \"Unable to teleport telecrystals.\"")
return 0
command_announcement.Announce("В секторе была замечена телепортация большого объема телекристаллов, использующихся Горлекскими Мародерами. Рекомендуется вызвать поддержку с ЦК для урегулирования ситуации.", "Показания датчиков [station_name()]" , msg_sanitized = 1, zlevels = GLOB.using_map.station_levels)
MAX_MECH += 1
return new /obj/item/stack/telecrystal(loc, 781)
Loading