mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Shell May Cry: A comprehensive rework of synthetics. (#20721)
https://www.youtube.com/watch?v=9mPvZ96pHJI A pull request commissioned by the Synthetic Lore Team to comprehensively rework synthetics (read: IPCs) and how they work in Aurora. The objective is to make IPCs as unique as possible from humans, upgrading the robotic feel and atmosphere, while also preserving a good sense of balance in-game. Key features: - A comprehensive expansion of synthetic organs, all of which now fulfill a purpose: hydraulics, cooling units, power systems, actuators, diagnostics units. - Customizable organs with benefits and drawbacks, such as with cooling units and power systems. - Unique ways to repair the organs and more involved steps. - Unique damage mechanics - every organ has wiring and electronics which affect its functioning, and they are defended by plating which provides natural armour. - Improved and immersive diagnostics. - Unique features, benefits, and drawbacks for every IPC frame. - A rework of the positronic brain, which can be either destroyed or shut down, alongside effects caused by low integrity. - A rework of how EMPs affect IPC organs. - Non-binary damage states for each organ. To-do: - [x] Finish the unique features for each frame. - [x] Look into if mechanical synthskin is possible. - [x] Power system. - [x] Posibrain mechanics. - [ ] Passive cooling expansion. - [x] EMP mechanics. - [x] Repair mechanics. - [x] Mob weight mechanics. - [ ] Gurney for heavy mobs. - [x] New augments. - [ ] IPC tag scanning and flashing. --------- Signed-off-by: Werner <1331699+Arrow768@users.noreply.github.com> Co-authored-by: Matt Atlas <liermattia@gmail.com> Co-authored-by: Geeves <22774890+Geevies@users.noreply.github.com> Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -220,6 +220,18 @@
|
||||
var/modification = tgui_input_list(owner, "Select a Modification", "Organ Modification", O.possible_modifications)
|
||||
owner.change_organ(organ, modification)
|
||||
|
||||
if("organ_preset")
|
||||
if(can_change(APPEARANCE_PROSTHETICS))
|
||||
var/organ = tgui_input_list(owner, "Select an Organ", "Organ Presets", valid_organs)
|
||||
var/obj/item/organ/internal/machine/O = owner.internal_organs_by_name[organ]
|
||||
var/list/possible_presets = list()
|
||||
for(var/P in O.organ_presets)
|
||||
var/singleton/synthetic_organ_preset/preset = GET_SINGLETON(P)
|
||||
possible_presets[preset.name] = preset
|
||||
var/singleton/synthetic_organ_preset/chosen_preset = tgui_input_list(owner, "Select a Preset", "Organ Presets", possible_presets)
|
||||
if(chosen_preset)
|
||||
O.apply_preset_data(chosen_preset)
|
||||
|
||||
/datum/tgui_module/appearance_changer/ui_interact(var/mob/user, var/datum/tgui/ui)
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
if(!ui)
|
||||
|
||||
Reference in New Issue
Block a user