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

new bionics menu #34061

Closed
wants to merge 230 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
7223232
adding more tabs to bionics menu
akozhevn Sep 16, 2019
3996f38
fixing crash when no bionics installed
akozhevn Sep 16, 2019
1fa9730
removing androind bindings
akozhevn Sep 16, 2019
b0b7d24
fixes from BevapDin
akozhevn Sep 17, 2019
e54612f
fixes from AMurkin
akozhevn Sep 18, 2019
a872196
fixes from AMurkin 2
akozhevn Sep 18, 2019
5f84fd2
Merge branch 'master' into bionics_ui
akozhevn Sep 18, 2019
fff2621
changing how tabs are drawn to new style
akozhevn Sep 18, 2019
1eddfe6
Merge branch 'master' into bionics_ui
akozhevn Sep 19, 2019
3b04442
travis
akozhevn Sep 20, 2019
ac0a6b4
Adjusting for new power system
akozhevn Oct 16, 2019
2b58665
add some documentation to BionicsDisplayType
akozhevn Oct 16, 2019
bbfd42c
adding documentation to JSON_INFO.md
akozhevn Oct 16, 2019
2a0d05d
revert accidental astyle for src/Android.mk and src/CMakeLists.txt
akozhevn Oct 17, 2019
eef7e05
Merge branch 'master' into bionics_ui
akozhevn Oct 19, 2019
a284ec4
Merge branch 'master' into bionics_ui
akozhevn Oct 26, 2019
7eef886
missing comma
akozhevn Oct 26, 2019
54cbc3b
Merge branch 'master' into bionics_ui
akozhevn Oct 26, 2019
d44706c
travis
akozhevn Oct 27, 2019
84087d2
Merge branch 'master' into bionics_ui
akozhevn Oct 30, 2019
5146787
Merge branch 'master' into bionics_ui
akozhevn Oct 30, 2019
755a4b6
Merge branch 'master' into bionics_ui
akozhevn Nov 1, 2019
152389b
DinoModv3: DinoDNA (#26525)
LyleSY Mar 6, 2020
ae4d3a0
[Aftershock] Millyficent whately and the migo (#36908)
Maleclypse Mar 6, 2020
e794245
[Aftershock] Mutant npcs to aftershock (#37530)
Maleclypse Mar 6, 2020
c2a8526
Aftershock Crafting System (#37707)
John-Candlebury Mar 6, 2020
4424ccf
Dark Skies Part 2: Blacklists (#38501)
ephemeralstoryteller Mar 1, 2020
dfe31ed
Dark Skies Part 3: Effects and Items (#38520)
ephemeralstoryteller Mar 1, 2020
237ed99
Dark Skies Part 4: Overrides (#38526)
ephemeralstoryteller Mar 6, 2020
1ce0029
Dark Skies 5: Override Scraps (#38550)
ephemeralstoryteller Mar 4, 2020
9e19001
Dark Skies 6: Snippets (#38551)
ephemeralstoryteller Mar 4, 2020
2061f33
Dark Skies 7: Monsters (#38552)
ephemeralstoryteller Mar 4, 2020
1f6b018
Dark Skies 8: Adds strays, lurker, enemies; updates modinfo (#38596)
ephemeralstoryteller Mar 6, 2020
d09413b
Dark Skies: Spell Fixes (#38643)
ephemeralstoryteller Mar 8, 2020
554cb14
[Magiclysm] Add Magiclysm academy (#38511)
curstwist Mar 8, 2020
cc0f348
Magiclysm: Forest Tomb (#37699)
arijust Mar 8, 2020
67e14db
Add demon chitin armor & repairing dragon armor (#36733)
Mar 15, 2020
f8bf777
Read ids and save ids for enchantments (#38262)
KorGgenT Feb 23, 2020
2e4c68f
Jsonize spell skills (#37368)
KorGgenT Mar 11, 2020
7460f0a
JSONize AEP_EVIL and implement intermittent artifact effects (#38221)
KorGgenT Feb 21, 2020
b3d0b28
JSONize AEP_SMOKE and add emitters to enchantments (#38260)
KorGgenT Mar 12, 2020
4e00d6b
Traps can cast spells (#38122)
KorGgenT Mar 11, 2020
28aa593
Add subway maps (#37540)
wapcaplet Mar 6, 2020
aa58733
Add The Satanic Bible (#37806)
karthas077 Mar 6, 2020
7ad5914
Indian cookbook (#37930)
ashGlaw Mar 10, 2020
106dece
AR pistols (#37768)
RarkGrames Mar 10, 2020
095118c
SUS bathroom 3.5 (#37431)
xanderrootslayer Mar 10, 2020
2a00973
Add map_bash_info to fields (#37865)
Fris0uman Mar 10, 2020
4d03fa9
Add shot counter to mods and gun (#37693)
Feb 4, 2020
26ea089
Allow professions to start with a nearby vehicle (#37314)
Mar 6, 2020
7fdf880
Add Crazy Party scenario and Frat Boy/Sorority Girl profession (#37512)
CountAlex Mar 6, 2020
0ac2bbc
Window manager (#37894)
Qrox Feb 24, 2020
50b9616
Use ui_adaptor in main game ui
Qrox Feb 24, 2020
c2962da
Use ui_adaptor in query_popup
Qrox Feb 24, 2020
ee2d313
Use ui_adaptor in keybindings menu
Qrox Feb 24, 2020
a5d9e7f
Use ui_adaptor in uilist
Qrox Feb 24, 2020
a426858
Use ui_adaptor in main menu
Qrox Feb 22, 2020
24f9d06
Use ui_adaptor in main menu new character submenu
Qrox Feb 22, 2020
d20ab7e
Use ui_adaptor in main menu load character submenu
Qrox Feb 22, 2020
33575a6
Use ui_adaptor in world tab
Qrox Feb 22, 2020
a3ff920
Remove w_background and use ui_adaptor to erase background instead
Qrox Feb 22, 2020
42a309a
Remove main_menu::handle_input_timeout now that we have proper window…
Qrox Feb 22, 2020
09a0112
Do not change ime status when navigating main menu
Qrox Feb 22, 2020
f03ce5f
Remove reinitialize_framebuffer now that we refresh main menu properl…
Qrox Feb 23, 2020
7947764
Use ui_adaptor in options menu
Qrox Feb 23, 2020
71c40ab
use ui_adaptor in worldfactory::pick_world
Qrox Feb 23, 2020
961b60c
Use ui_adaptor in worldfactory::make_new_world
Qrox Feb 23, 2020
078d82f
Use ui_adaptor in world_factory::show_worldgen_tab_modselection
Qrox Feb 24, 2020
0601ce2
Remove manual refresh in worldfactory::show_worldgen_tab_options
Qrox Feb 24, 2020
860eecf
Use ui_adaptor in worldfactory::show_worldgen_tab_confirm
Qrox Feb 24, 2020
be4d907
Use ui_adaptor in worldfactory::show_active_world_mods
Qrox Feb 24, 2020
8f7680e
Use ui_adaptor in auto pickup menu
Qrox Feb 24, 2020
ecfe915
Use ui_adaptor in string_input_popup
Qrox Feb 24, 2020
41e759a
Use ui_adaptor in auto pickup test pattern window
Qrox Feb 24, 2020
8bc5186
Use ui_adaptor in safe mode ui
Qrox Feb 24, 2020
43e5e63
Use ui_adaptor in safemode test pattern window
Qrox Feb 24, 2020
8032557
Use ui_adaptor in color manager
Qrox Feb 24, 2020
847c77d
Use ui_adaptor in help menu
Qrox Feb 28, 2020
9c9eae9
Use ui_adaptor in scrollable_text
Qrox Feb 28, 2020
6b4a80e
Remove manual JSON object member check:
BevapDin Jan 26, 2020
55f4772
Move some repeated code into a function get_mapgen_function.
BevapDin Jan 26, 2020
3face85
Move some code as function into mapgen.cpp
BevapDin Jan 26, 2020
073f003
Remove redundant declaration.
BevapDin Jan 26, 2020
8e0bb46
Remove commented out code.
BevapDin Jan 26, 2020
98043b5
Move access to oter_mapgen into mapgen.cpp
BevapDin Jan 26, 2020
561a4b2
Remove exposing variables from mapgen.cpp in the header.
BevapDin Jan 26, 2020
452d9a6
Add separate function to register mapgen object: register_mapgen_func…
BevapDin Jan 26, 2020
93e1e09
Change oter_mapgen to contain ínstances of a dedicated class
BevapDin Jan 26, 2020
c8431a6
Merge oter_mapgen_weights into oter_mapgen:
BevapDin Jan 26, 2020
0b5463e
Store pointers directly in oter_mapgen weights map instead of indices…
BevapDin Jan 26, 2020
5858609
Use weighted_int_list for oter_mapgen weights
BevapDin Jan 26, 2020
c029ea0
Move code into a member function mapgen_basic_container::pick
BevapDin Jan 26, 2020
bf62fd2
Move code into a member function: mapgen_basic_container::setup
BevapDin Jan 26, 2020
35c8893
Move code into a member function: mapgen_basic_container::check_consi…
BevapDin Jan 26, 2020
59ce874
Make all data members of mapgen_basic_container private.
BevapDin Jan 26, 2020
0c8c075
Make a separate class for oter_mapgen
BevapDin Jan 26, 2020
6ac5b5c
Replace `auto` with actual type
BevapDin Jan 26, 2020
5e1b296
Consistent naming: "omw" just like in the other function
BevapDin Jan 26, 2020
dde60f4
Consistent naming: just "iter" as there is no need to hint the data t…
BevapDin Jan 26, 2020
f1010d7
Add usage checks for loaded mapgen instances.
BevapDin Jan 26, 2020
c2e1bea
Add some documentation.
BevapDin Jan 26, 2020
22dc435
Encapsulate the `mapgen_function` function pointers within `mapgen_fa…
BevapDin Feb 1, 2020
6b2e56c
Remove mapgen entries for overmap terrain "null".
BevapDin Feb 2, 2020
3bad296
Follow recommendation of clang-tidy
BevapDin Feb 2, 2020
eca8787
Make parameter offset of load_mapgen_function mandatory.
BevapDin Feb 2, 2020
2071f21
Remove default_idx parameter from load_mapgen_function.
BevapDin Feb 2, 2020
89411b6
Refactor loading bonuses (#36562)
BevapDin Mar 10, 2020
6defa75
Add utf8_display_split function
jbytheway Feb 1, 2020
ee98441
Switch mapgen keys from ints to strings
jbytheway Feb 2, 2020
696f882
Test Unicode mapgen with bookcases in house_w
jbytheway Feb 9, 2020
cc221dc
Document the Unicode mapgen support
jbytheway Feb 19, 2020
6d0d0e4
Advanced inv save settings (#35239)
akozhevn Mar 17, 2020
ae5930f
Refluff power armour and adjust stats slightly (#37578)
ZhilkinSerg Mar 15, 2020
0f24501
Match armor layers ui and help text (#38762)
Pupsi-Mupsi Mar 15, 2020
c6a6b45
Match advanced inventory UI and info text (#38763)
Pupsi-Mupsi Mar 15, 2020
377b84c
Match message log filter info and construction filter (#38764)
Pupsi-Mupsi Mar 15, 2020
497c0fa
Match construction UI (#38765)
Pupsi-Mupsi Mar 15, 2020
3b635c8
Match player info and martial arts UI (#38766)
Pupsi-Mupsi Mar 15, 2020
1be5666
Extracts and Concentrates pt 1 (#37936)
NastyNate2612 Mar 16, 2020
329e489
Add "forbidden traits" to professions (#36074)
np-vortex Mar 16, 2020
3bb953e
Volleyballs (#38192)
klorpa Mar 17, 2020
dea3588
Rename bionicsDisplayType.json to bionics_display_types.json
ZhilkinSerg Mar 17, 2020
07f8fa0
Rename bionics_display_types.json to bionicsDisplayType.json
ZhilkinSerg Mar 17, 2020
c633963
Merge branch 'dev' into bionics_ui
ZhilkinSerg Mar 17, 2020
309ad05
Update bionics.h
ZhilkinSerg Mar 17, 2020
7dd502a
Update bionics.cpp
ZhilkinSerg Mar 17, 2020
81b97aa
Update bionics_ui.cpp
ZhilkinSerg Mar 17, 2020
38fabc7
DinoModv3: DinoDNA (#26525)
LyleSY Mar 6, 2020
717a8eb
[Aftershock] Millyficent whately and the migo (#36908)
Maleclypse Mar 6, 2020
5723aba
[Aftershock] Mutant npcs to aftershock (#37530)
Maleclypse Mar 6, 2020
e104fce
Aftershock Crafting System (#37707)
John-Candlebury Mar 6, 2020
ec213d7
Dark Skies Part 2: Blacklists (#38501)
ephemeralstoryteller Mar 1, 2020
71cff02
Dark Skies Part 3: Effects and Items (#38520)
ephemeralstoryteller Mar 1, 2020
8957b2f
Dark Skies Part 4: Overrides (#38526)
ephemeralstoryteller Mar 6, 2020
4ad26c9
Dark Skies 5: Override Scraps (#38550)
ephemeralstoryteller Mar 4, 2020
5771698
Dark Skies 6: Snippets (#38551)
ephemeralstoryteller Mar 4, 2020
8526e5d
Dark Skies 7: Monsters (#38552)
ephemeralstoryteller Mar 4, 2020
30f54bd
Dark Skies 8: Adds strays, lurker, enemies; updates modinfo (#38596)
ephemeralstoryteller Mar 6, 2020
152373a
Dark Skies: Spell Fixes (#38643)
ephemeralstoryteller Mar 8, 2020
62d7f20
[Magiclysm] Add Magiclysm academy (#38511)
curstwist Mar 8, 2020
13ddb13
Magiclysm: Forest Tomb (#37699)
arijust Mar 8, 2020
9ee18d0
Add demon chitin armor & repairing dragon armor (#36733)
Mar 15, 2020
159aefd
Read ids and save ids for enchantments (#38262)
KorGgenT Feb 23, 2020
5ac287c
Jsonize spell skills (#37368)
KorGgenT Mar 11, 2020
35ee305
JSONize AEP_EVIL and implement intermittent artifact effects (#38221)
KorGgenT Feb 21, 2020
8b8b78f
JSONize AEP_SMOKE and add emitters to enchantments (#38260)
KorGgenT Mar 12, 2020
7b300cf
Traps can cast spells (#38122)
KorGgenT Mar 11, 2020
e4fdee3
Add subway maps (#37540)
wapcaplet Mar 6, 2020
5d7153d
Add The Satanic Bible (#37806)
karthas077 Mar 6, 2020
2d0f1f4
Indian cookbook (#37930)
ashGlaw Mar 10, 2020
c8b27da
AR pistols (#37768)
RarkGrames Mar 10, 2020
ceaee87
SUS bathroom 3.5 (#37431)
xanderrootslayer Mar 10, 2020
02ceceb
Add map_bash_info to fields (#37865)
Fris0uman Mar 10, 2020
cf9cab6
Add shot counter to mods and gun (#37693)
Feb 4, 2020
697cf46
Allow professions to start with a nearby vehicle (#37314)
Mar 6, 2020
5dc8168
Add Crazy Party scenario and Frat Boy/Sorority Girl profession (#37512)
CountAlex Mar 6, 2020
e90ba0c
Window manager (#37894)
Qrox Feb 24, 2020
7698101
Use ui_adaptor in main game ui
Qrox Feb 24, 2020
4200b4b
Use ui_adaptor in query_popup
Qrox Feb 24, 2020
b30ef95
Use ui_adaptor in keybindings menu
Qrox Feb 24, 2020
2ad9898
Use ui_adaptor in uilist
Qrox Feb 24, 2020
a6490af
Use ui_adaptor in main menu
Qrox Feb 22, 2020
c0a695e
Use ui_adaptor in main menu new character submenu
Qrox Feb 22, 2020
e4daf42
Use ui_adaptor in main menu load character submenu
Qrox Feb 22, 2020
640a047
Use ui_adaptor in world tab
Qrox Feb 22, 2020
3ac1dc6
Remove w_background and use ui_adaptor to erase background instead
Qrox Feb 22, 2020
edf6164
Remove main_menu::handle_input_timeout now that we have proper window…
Qrox Feb 22, 2020
42a5ff2
Do not change ime status when navigating main menu
Qrox Feb 22, 2020
dcce926
Remove reinitialize_framebuffer now that we refresh main menu properl…
Qrox Feb 23, 2020
798a11f
Use ui_adaptor in options menu
Qrox Feb 23, 2020
71ce812
use ui_adaptor in worldfactory::pick_world
Qrox Feb 23, 2020
c2cd048
Use ui_adaptor in worldfactory::make_new_world
Qrox Feb 23, 2020
f607ec2
Use ui_adaptor in world_factory::show_worldgen_tab_modselection
Qrox Feb 24, 2020
a506806
Remove manual refresh in worldfactory::show_worldgen_tab_options
Qrox Feb 24, 2020
15baf50
Use ui_adaptor in worldfactory::show_worldgen_tab_confirm
Qrox Feb 24, 2020
fa4c9e7
Use ui_adaptor in worldfactory::show_active_world_mods
Qrox Feb 24, 2020
d810140
Use ui_adaptor in auto pickup menu
Qrox Feb 24, 2020
be43ba3
Use ui_adaptor in string_input_popup
Qrox Feb 24, 2020
af02c45
Use ui_adaptor in auto pickup test pattern window
Qrox Feb 24, 2020
5a72728
Use ui_adaptor in safe mode ui
Qrox Feb 24, 2020
50ecd02
Use ui_adaptor in safemode test pattern window
Qrox Feb 24, 2020
616a9bb
Use ui_adaptor in color manager
Qrox Feb 24, 2020
6030656
Use ui_adaptor in help menu
Qrox Feb 28, 2020
031889a
Use ui_adaptor in scrollable_text
Qrox Feb 28, 2020
0cb30ed
Remove manual JSON object member check:
BevapDin Jan 26, 2020
640b695
Move some repeated code into a function get_mapgen_function.
BevapDin Jan 26, 2020
72b3076
Move some code as function into mapgen.cpp
BevapDin Jan 26, 2020
e60a3a7
Remove redundant declaration.
BevapDin Jan 26, 2020
e5139ff
Remove commented out code.
BevapDin Jan 26, 2020
2998acc
Move access to oter_mapgen into mapgen.cpp
BevapDin Jan 26, 2020
243d3ee
Remove exposing variables from mapgen.cpp in the header.
BevapDin Jan 26, 2020
522aa0d
Add separate function to register mapgen object: register_mapgen_func…
BevapDin Jan 26, 2020
e78a8a2
Change oter_mapgen to contain ínstances of a dedicated class
BevapDin Jan 26, 2020
bbd37bf
Merge oter_mapgen_weights into oter_mapgen:
BevapDin Jan 26, 2020
7245e6f
Store pointers directly in oter_mapgen weights map instead of indices…
BevapDin Jan 26, 2020
601550d
Use weighted_int_list for oter_mapgen weights
BevapDin Jan 26, 2020
ec80579
Move code into a member function mapgen_basic_container::pick
BevapDin Jan 26, 2020
d8aacda
Move code into a member function: mapgen_basic_container::setup
BevapDin Jan 26, 2020
5f702c0
Move code into a member function: mapgen_basic_container::check_consi…
BevapDin Jan 26, 2020
7d59eea
Make all data members of mapgen_basic_container private.
BevapDin Jan 26, 2020
914d625
Make a separate class for oter_mapgen
BevapDin Jan 26, 2020
0cc56ff
Replace `auto` with actual type
BevapDin Jan 26, 2020
b6d1de9
Consistent naming: "omw" just like in the other function
BevapDin Jan 26, 2020
82453d2
Consistent naming: just "iter" as there is no need to hint the data t…
BevapDin Jan 26, 2020
cfe4282
Add usage checks for loaded mapgen instances.
BevapDin Jan 26, 2020
21f406c
Add some documentation.
BevapDin Jan 26, 2020
60b371f
Encapsulate the `mapgen_function` function pointers within `mapgen_fa…
BevapDin Feb 1, 2020
505142c
Remove mapgen entries for overmap terrain "null".
BevapDin Feb 2, 2020
19d14b3
Follow recommendation of clang-tidy
BevapDin Feb 2, 2020
7adcd44
Make parameter offset of load_mapgen_function mandatory.
BevapDin Feb 2, 2020
1132ae5
Remove default_idx parameter from load_mapgen_function.
BevapDin Feb 2, 2020
1e163e1
Refactor loading bonuses (#36562)
BevapDin Mar 10, 2020
0dbe1f1
Add utf8_display_split function
jbytheway Feb 1, 2020
24b6b20
Switch mapgen keys from ints to strings
jbytheway Feb 2, 2020
ef1acbd
Test Unicode mapgen with bookcases in house_w
jbytheway Feb 9, 2020
593b757
Document the Unicode mapgen support
jbytheway Feb 19, 2020
f4e1a0c
Advanced inv save settings (#35239)
akozhevn Mar 17, 2020
6b21259
Refluff power armour and adjust stats slightly (#37578)
ZhilkinSerg Mar 15, 2020
7fcca7a
Match armor layers ui and help text (#38762)
Pupsi-Mupsi Mar 15, 2020
a666fc4
Match advanced inventory UI and info text (#38763)
Pupsi-Mupsi Mar 15, 2020
9b8218d
Match message log filter info and construction filter (#38764)
Pupsi-Mupsi Mar 15, 2020
064a473
Match construction UI (#38765)
Pupsi-Mupsi Mar 15, 2020
7aee62a
Match player info and martial arts UI (#38766)
Pupsi-Mupsi Mar 15, 2020
c3a3d8b
Extracts and Concentrates pt 1 (#37936)
NastyNate2612 Mar 16, 2020
a726df9
Add "forbidden traits" to professions (#36074)
np-vortex Mar 16, 2020
47e8fb0
Volleyballs (#38192)
klorpa Mar 17, 2020
39e00e3
Display damage per second in the item info (#38600)
l29ah Mar 18, 2020
53e61dc
Update bionics_ui.cpp
ZhilkinSerg Mar 18, 2020
2bed7a8
Update CRT_Bladework.json
ZhilkinSerg Mar 18, 2020
773b2ca
Merge branch 'dev' into bionics_ui
ZhilkinSerg Mar 18, 2020
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
78 changes: 52 additions & 26 deletions data/json/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"name": "Adrenaline Pump",
"description": "A stimulator system has been surgically implanted alongside your adrenal glands, allowing you to trigger your body's adrenaline response at the cost of some bionic power.",
"occupied_bodyparts": [ [ "TORSO", 6 ] ],
"act_cost": 50
"act_cost": 50,
"display_type": "display_internal"
},
{
"id": "bio_ads",
Expand Down Expand Up @@ -114,23 +115,26 @@
"name": "Optical Dampers",
"description": "The lenses surgically installed over your eyes can be tinted to block out incoming light.",
"included": true,
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_sensory"
},
{
"id": "bio_blood_anal",
"type": "bionic",
"name": "Blood Analysis",
"description": "Small sensors have been surgically implanted in your heart, allowing you to analyze your blood. This will detect many illnesses, drugs, and other conditions.",
"occupied_bodyparts": [ [ "TORSO", 5 ] ],
"act_cost": 25
"act_cost": 25,
"display_type": "display_internal"
},
{
"id": "bio_blood_filter",
"type": "bionic",
"name": "Blood Filter",
"description": "A filtration system in your heart allows you to actively filter out chemical impurities, primarily drugs. It will have limited impact on viruses. Note that it is not a targeted filter; ALL drugs in your system will be affected.",
"occupied_bodyparts": [ [ "TORSO", 10 ] ],
"act_cost": 75
"act_cost": 75,
"display_type": "display_internal"
},
{
"id": "bio_cable",
Expand Down Expand Up @@ -200,7 +204,8 @@
"act_cost": 1,
"react_cost": 1,
"time": 24,
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_internal"
},
{
"id": "bio_cloak",
Expand Down Expand Up @@ -289,7 +294,8 @@
"name": "Sound Dampeners",
"description": "When this bionic is active, you can block hearing completely (with Enhanced Hearing deactivated) or dampen sound slightly (with Enhanced Hearing activated).",
"included": true,
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_sensory"
},
{
"id": "bio_ears",
Expand All @@ -298,15 +304,17 @@
"description": "When this bionic is active, your hearing will be drastically improved, allowing you to hear ten times better than the average person. Additionally, high-intensity sounds will be automatically dampened before they can damage your hearing.",
"occupied_bodyparts": [ [ "HEAD", 3 ] ],
"flags": [ "BIONIC_TOGGLED" ],
"included_bionics": [ "bio_earplugs" ]
"included_bionics": [ "bio_earplugs" ],
"display_type": "display_sensory"
},
{
"id": "bio_emp",
"type": "bionic",
"name": "Directional EMP",
"description": "Surgically mounted in the palm of your hand are small parabolic EMP field generators. You may use power to fire a wide, but short-ranged blast which will disable electronics and robots.",
"occupied_bodyparts": [ [ "ARM_R", 1 ], [ "HAND_R", 2 ] ],
"act_cost": 100
"act_cost": 100,
"display_type": "display_weapon"
},
{
"type": "bionic",
Expand Down Expand Up @@ -403,7 +411,8 @@
"act_cost": 1,
"react_cost": 1,
"time": 150,
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_sensory"
},
{
"id": "bio_tattoo_led",
Expand Down Expand Up @@ -436,7 +445,8 @@
"name": "Respirator",
"description": "A complex respiration augmentation system. Improves respiration ability in air and allows breathing water. Will automatically turn on when drowning. Turn on to recharge stamina faster, at moderate power cost. Asthmatics may also use it to stop asthma attacks.",
"occupied_bodyparts": [ [ "TORSO", 8 ], [ "HEAD", 2 ], [ "MOUTH", 2 ] ],
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_internal"
},
{
"id": "bio_ground_sonar",
Expand All @@ -447,7 +457,8 @@
"flags": [ "BIONIC_TOGGLED" ],
"act_cost": 5,
"react_cost": 1,
"time": 1
"time": 1,
"display_type": "display_sensory"
},
{
"id": "bio_heat_absorb",
Expand All @@ -466,7 +477,8 @@
[ "FOOT_L", 2 ],
[ "FOOT_R", 2 ]
],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"display_type": "display_weapon"
},
{
"id": "bio_heatsink",
Expand All @@ -488,7 +500,8 @@
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"act_cost": 4,
"react_cost": 4,
"time": 1
"time": 1,
"display_type": "display_internal"
},
{
"id": "bio_hydraulics",
Expand All @@ -499,7 +512,8 @@
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"act_cost": 17,
"react_cost": 17,
"time": 1
"time": 1,
"display_type": "display_internal"
},
{
"id": "bio_infrared",
Expand All @@ -510,7 +524,8 @@
"flags": [ "BIONIC_TOGGLED" ],
"act_cost": 5,
"react_cost": 1,
"time": 1
"time": 1,
"display_type": "display_sensory"
},
{
"id": "bio_int_enhancer",
Expand Down Expand Up @@ -555,7 +570,8 @@
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY", "BIONIC_NPC_USABLE" ],
"act_cost": 10,
"react_cost": 1,
"time": 3600
"time": 3600,
"display_type": "display_internal"
},
{
"id": "bio_lighter",
Expand Down Expand Up @@ -599,7 +615,8 @@
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY" ],
"act_cost": 10,
"react_cost": 1,
"time": 600
"time": 600,
"display_type": "display_internal"
},
{
"id": "bio_metabolics",
Expand All @@ -623,7 +640,8 @@
"name": "Repair Nanobots",
"description": "Inside your body is a fleet of tiny dormant robots. While activated they will flit about your body, repairing damage at 1 HP/s and stopping bleeding at the cost of power.",
"occupied_bodyparts": [ [ "TORSO", 10 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"display_type": "display_internal"
},
{
"id": "bio_night",
Expand All @@ -645,7 +663,8 @@
"flags": [ "BIONIC_TOGGLED" ],
"act_cost": 1,
"react_cost": 1,
"time": 10000
"time": 10000,
"display_type": "display_sensory"
},
{
"id": "bio_noise",
Expand Down Expand Up @@ -681,7 +700,8 @@
"name": "Sensory Dulling",
"description": "Your nervous system is wired to allow you to inhibit the signals of pain, allowing you to dull your senses at will. However, the use of this system may cause delayed reaction time and drowsiness.",
"occupied_bodyparts": [ [ "HEAD", 2 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"display_type": "display_sensory"
},
{
"id": "bio_pokedeye",
Expand Down Expand Up @@ -774,7 +794,8 @@
"flags": [ "BIONIC_TOGGLED" ],
"act_cost": 1,
"react_cost": 1,
"time": 1
"time": 1,
"display_type": "display_weapon"
},
{
"id": "bio_razors",
Expand Down Expand Up @@ -831,7 +852,8 @@
"flags": [ "BIONIC_TOGGLED" ],
"act_cost": 1,
"react_cost": 1,
"time": 6
"time": 6,
"display_type": "display_sensory"
},
{
"id": "bio_shakes",
Expand All @@ -847,7 +869,8 @@
"name": "Electroshock Unit",
"description": "While fighting unarmed, or with a weapon that conducts electricity, there is a chance that a successful hit will shock your opponent, inflicting extra damage and disabling them temporarily at the cost of some energy.",
"occupied_bodyparts": [ [ "TORSO", 8 ], [ "ARM_L", 3 ], [ "ARM_R", 3 ], [ "HAND_L", 1 ], [ "HAND_R", 1 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"display_type": "display_weapon"
},
{
"id": "bio_shockwave",
Expand Down Expand Up @@ -1020,7 +1043,8 @@
"name": "Joint Servo",
"description": "Your leg joints have been equipped with servomotors that provide power-assisted movement. They are optimized for running, but walking also requires less effort when this bionic is online. However, when it's offline it will hamper your movement, as you struggle against its moving parts.",
"occupied_bodyparts": [ [ "LEG_L", 12 ], [ "LEG_R", 12 ] ],
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_internal"
},
{
"id": "bio_trip",
Expand Down Expand Up @@ -1115,14 +1139,16 @@
"name": "Taste Modifier",
"description": "A set of highly sensitive sensors is installed in your mouth, and a small yet sophisticated analyzer is installed in the cavity of your skull. The active bionic will nullify the taste of all comestibles with negative enjoyment value at the cost of draining bionic power.",
"occupied_bodyparts": [ [ "HEAD", 1 ], [ "MOUTH", 1 ] ],
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_sensory"
},
{
"id": "bio_soporific",
"type": "bionic",
"name": "Soporific Induction",
"description": "An electrode has been implanted into your brain's ventrolateral preoptic nucleus. It turns on whenever you're trying to fall asleep, creating an artificial but effective sensation of fatigue.",
"occupied_bodyparts": [ [ "HEAD", 1 ] ],
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"display_type": "display_internal"
}
]
37 changes: 37 additions & 0 deletions data/json/bionicsDisplayType.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"type": "bionics_display_type",
"ident": "display_weapon",
"display_string": "Weapons"
},
{
"type": "bionics_display_type",
"ident": "display_power",
"display_string": "Power"
},
{
"type": "bionics_display_type",
"ident": "display_sensory",
"display_string": "Sensory"
},
{
"type": "bionics_display_type",
"ident": "display_internal",
"display_string": "Internal"
},
{
"type": "bionics_display_type",
"ident": "display_other",
"display_string": "Other"
},
{
"type": "bionics_display_type",
"ident": "display_passive",
"display_string": "Passive"
},
{
"type": "bionics_display_type",
"ident": "display_faulty",
"display_string": "Faulty"
}
]
14 changes: 7 additions & 7 deletions data/raw/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -1396,13 +1396,6 @@
"name": "Toggle item as favorite",
"bindings": [ { "input_method": "keyboard", "key": "*" } ]
},
{
"type": "keybinding",
"id": "TOGGLE_EXAMINE",
"category": "BIONICS",
"name": "Toggle activate/examine",
"bindings": [ { "input_method": "keyboard", "key": "!" } ]
},
{
"type": "keybinding",
"id": "TOGGLE_EXAMINE",
Expand Down Expand Up @@ -2263,6 +2256,13 @@
{ "input_method": "gamepad", "key": "JOY_DOWN" }
]
},
{
"type": "keybinding",
"id": "TOGGLE_EXAMINE",
"category": "BIONICS",
"name": "Display Columns Info",
"bindings": [ { "input_method": "keyboard", "key": "F1" } ]
},
{
"type": "keybinding",
"id": "REASSIGN",
Expand Down
Loading