Commit Graph

617 Commits

Author SHA1 Message Date
Novacat
c600245864 Merge pull request #8742 from Heroman3003/bellyitemfix
Fix unintended inbelly item interactions caused by copypaste
2020-08-20 18:54:24 -04:00
Heroman3003
9df463f53a Fix unintended inbelly item interactions caused by copypaste 2020-08-19 13:41:32 +10:00
ShadowLarkens
c2c35e0ea5 Add optional selectable fullscreen belly overlays with pred & prey prefs 2020-08-17 01:32:19 -07:00
ShadowLarkens
4f122c591a AI Hotkeys fix after TGUI Engineering 2020-08-13 07:07:58 -07:00
Razgriz
f00fdebbb9 Merge branch 'master' of https://github.com/Yawn-Wider/YWPolarisVore into August2020UpstreamPull
August2020UpstreamPull
2020-08-09 02:58:18 -07:00
Shadow-Quill
29173ed58a Pressing Q now properly updates borg modules (#7357)
* Press Q to refresh borg modules

* No usr for you
2020-07-23 01:40:41 -04:00
Shadow Quill
21db042d52 Fixes the drop 2020-07-20 04:40:22 -05:00
ShadowLarkens
a20eef5bfb TGUI Camera Console - Part 1; Plain console done
# Conflicts:
#	code/_onclick/hud/skybox.dm
#	code/controllers/subsystems/skybox.dm
#	code/game/machinery/computer/camera.dm
#	tgui/packages/tgui/public/tgui.bundle.js
2020-07-16 16:17:36 -07:00
Razgriz
02421b075e Merge branch 'master' of https://github.com/Yawn-Wider/YWPolarisVore into July2020UpstreamPull 2020-07-12 16:14:45 -07:00
Kates
e62938bc61 Add clickable action buttons from /TG/, rework a lot of backend and other improvements. 2020-07-03 18:29:29 -04:00
Atermonera
affd284004 Add AI Picture-in-Picture Mode! 2020-06-03 10:09:30 -04:00
Atermonera
619e8b1b94 Ported /tg/ style screen alerts, replacing the hunger icon with them 2020-05-31 11:52:17 -04:00
Aronai Sieyes
74cfc23497 Add a "Return to Menu" ghost HUD button 2020-05-26 13:51:48 -04:00
Aronai Sieyes
f9f380a280 Merge pull request #8032 from VOREStation/Arokha/ghosttip
Add missing ghost teleport tooltip
2020-05-22 16:27:37 -04:00
Aronai Sieyes
67a5ead927 Click background in character preview to change it 2020-05-22 11:07:43 -04:00
Aronai Sieyes
377766b21f Add missing ghost teleport tooltip 2020-05-22 10:32:30 -04:00
Aronai Sieyes
35eaa9b40a Add more screen alert types 2020-05-21 12:38:18 -04:00
Razgriz
3e58d2490a Update human.dm 2020-05-21 03:39:07 -07:00
Razgriz
63dc711254 Update ai.dm 2020-05-21 03:37:23 -07:00
Razgriz
81a6233829 Update ai.dm 2020-05-21 03:35:56 -07:00
Razgriz
3dabdca3f3 Merge branch 'master' of https://github.com/Yawn-Wider/YWPolarisVore into May2020UpstreamPull2-2 2020-05-21 03:20:13 -07:00
Aronai Sieyes
fc849d9e36 Merge pull request #7962 from VOREStation/Arokha/playsound
Alter playsound paradigm
2020-05-19 11:20:52 -04:00
Aronai Sieyes
09074eaabb Alter playsound paradigm 2020-05-18 23:42:15 -04:00
Aronai Sieyes
d64a922437 Refactor spacemoves 2020-05-18 22:30:27 -04:00
Aronai Sieyes
32ae9bcd6b Merge pull request #7883 from VOREStation/aro-erishud
Add mini HUDs to mechs, rigs
2020-05-15 20:54:58 -04:00
Aronai Sieyes
b419e79166 Merge pull request #7873 from VOREStation/aro-conf
Fix item-based alerts, and add a confused alert
2020-05-15 20:52:14 -04:00
Aronai Sieyes
0f0400cfc3 Merge pull request #7871 from VOREStation/aro-hudhiding
Allow hiding other huds like ghost huds with F12
2020-05-15 20:48:45 -04:00
Aronai Sieyes
cb36e93a30 Add mini HUDs to mechs, rigs 2020-05-15 17:14:29 -04:00
Aronai Sieyes
2d590505c1 Fix buckled/item based alerts 2020-05-15 13:43:35 -04:00
Aronai Sieyes
6873a3238d Add confused alert 2020-05-15 13:43:24 -04:00
Arokha Sieyes
74aaebeacd Add tooltips to ghost HUD buttons 2020-05-15 12:05:34 -04:00
Arokha Sieyes
9ec585ec68 Allow hiding other huds like ghost huds with F12 2020-05-15 11:57:44 -04:00
Aronai Sieyes
a537ef77fa Further tweak alerts 2020-05-14 18:14:10 -04:00
Aronai Sieyes
b020a3d9b4 Add updown buttons to ghost, AI HUDs 2020-05-14 16:52:16 -04:00
Aronai Sieyes
3992b7a50a Add observer HUD from /tg/, refactor HUDs 2020-05-14 16:29:15 -04:00
Aronai Sieyes
9307fa0738 Further alert holo tweaks 2020-05-14 13:04:14 -04:00
Aronai Sieyes
ebe252d988 Further add on to the alert system 2020-05-14 12:26:20 -04:00
ShadowLarkens
f905cfc020 Ported /tg/ style screen alerts, replacing the hunger icon with them
This adds throw_alert() and /obj/screen/alert, a system that allows you
to do custom hud alerts for any variety of things from "You're too
cold!" to mecha status indicators for the pilot.

There's quite a few things that actually got replaced; the
fire/oxy/tox/co2 alerts are all now just alerts, as is nutrition. The
xenochimera feral indicator would probably be a good candidate for
conversion, but I didn't touch it in this PR. There's also a number of
new alerts, such as blindness, highness, legcuffed, buckled, handcuffed,
and probably some more I missed; read code/_onclick/hud/alert.dm and see
for yourself!

Additionally, a number of tweaks have been done to resisting code, to
make it so that there's an indicator when you're buckled or handcuffed,
and can just click the alert to start resisting. This includes a
refactor that combines the logic for lockers, holders, micros
escaping from shoes, and struggling in a gut all into one proc, called
container_resist(). This means that vore bellies actually no longer need
the resist override, but it's been left in place just in case someone
finds something else they want to use it for.

Also, the health and internals indicator got moved down one tile each.
Needed room for the alerts. If we add the oxygen tank action buttons
from /tg/ and remove the internals indicator, the health indicator can
go back where it was originally.
2020-05-13 19:36:01 -07:00
Razgriz
78c51938cf Merge pull request #346 from Rykka-Stormheart/shep-dev-ai-multicam-port
Add AI Picture-in-Picture Mode!
2020-05-13 17:15:46 -07:00
Rykka
07e114701b Fix AI multicam exploits & a few other bugs
There's no longer a weird horrible frame
Space now renders (at the cost of some kinda weird lookin stuff in the multicam room but w/e)
Fixed an exploit involving getting AI eyes qdel'd that disabled static for all other eyes - this would allow you to see into maintenance, for instance, completely bypassing all AI limitations. HUGE exploit.
2020-05-11 10:24:38 -04:00
ShadowLarkens
9cf164d66c Fix AI multicam exploits & a few other bugs 2020-05-10 21:15:52 -07:00
Rykka
29037fd40a AI PiP Fixes
Fixes the undefined icon resulting in this:
![https://i.tigercat2000.net/2020/05/firefox_4x2cbYTrT1.png](https://i.tigercat2000.net/2020/05/firefox_4x2cbYTrT1.png)
Fixes the two buttons being misaligned with the UI.
Fixes double-clicking inside the AI PiP room teleporting the AI Eye out to the room and completely breaking the view. Do note that double-clicking no longer works at all inside the multi-cam room, as a tradeoff for completely preventing UI breaks.
2020-05-10 21:53:31 -04:00
Aronai Sieyes
dad851b252 Merge pull request #7752 from Rykka-Stormheart/shep-dev-ai-pip
Add AI Picture-in-Picture Mode!
2020-05-10 19:00:50 -04:00
Rykka
ef1acd0452 Add AI Picture-in-Picture Mode!
This adds a system for picture-in-picture UI windows using
vis_contents. Essentially, it allows you to make UI windows that show an area of turfs. It also refactors how cameranet visibility works.

Currently, this is implemented on AIs. They gain two new UI buttons - "Enter Multicam Mode", and "Create Multicam". When they go into Multicam Mode, they see a background of animated binary numbers, and they are allowed to create an infinite amount of these picture in picture windows, which subsequently creates an AI Eye for each one. They are able to control each AI eye individually, by first clicking on the PIP window to select it as "active" and then using the normal arrow key controls. The PIP windows can be freely resized and moved around the area.

You can control everything inside these PIP windows EXACTLY the same as you can using a traditional AI Eye, as demonstrated below.

For admins, there is a config option to disable PIP entirely - simply set `var/multicam_allowed = TRUE` to FALSE if you wish to disable it from being used. (Please be reasonable.) <3

You can see an example of how this works here:
![https://i.imgur.com/TCND8W9.mp4](https://i.imgur.com/TCND8W9.mp4)

AI Multicam functionality.

Do note that if the lightbulb in the AI core is busted, the multicam room is dark(er) than it would be, but you can still see your camera windows just fine. (I'll probably fix this later.) It only affects the "matrix" backdrop, the PIP windows are still fine.

This has been runtime-tested with the latest `master` revision and produces 0 runtimes, and has no noticeable impact on server CPU usage.

Chompstation port is here!
Port of https://github.com/VOREStation/VOREStation/pull/7752, YW port not incoming atm as they can fetch from upstream and frankly dog has done enuf ports for now x.x
2020-05-10 14:22:36 -04:00
Rykka
ca848661c4 Fix more inconsistent indentation mistakes, confirm AI working 2020-05-10 13:03:20 -04:00
Rykka
26726bd55a Fix inconsistent indendation, derp. 2020-05-10 12:35:02 -04:00
Rykka
3b3a7b960c Add Picture-in-Picture Mode for AI's, Working on Resolving Runtime
WIP DESC
2020-05-10 12:31:49 -04:00
Rykka
5c5ac378a4 Port of Hover Inventory and Body Zone Hover Indicators.
The body zone selector now indicates which body part you are about to select when hovered over, and the hover inventory indicator basically shows where you are trying to put an item, and then shows an item ghost in red or green, giving visual feedback as to if that item will go in the slot or not.

Gifs of this in action:
![https://i.imgur.com/MTi7Kpn.gif](https://i.imgur.com/MTi7Kpn.gif) 
Body Selection parts.

![https://i.imgur.com/KbLqWKy.gif](https://i.imgur.com/KbLqWKy.gif) 
Inventory Icon Overlays!

Credit goes to @ShadowLarkens for original port to Paradise and assistance with port to Virgo. Downstream port of https://github.com/VOREStation/VOREStation/pull/7748

- A note on `code/game/objects/items/weapons/storage/internal.dm`, VSCode automatically corrected the line endings, hence the massive filediff. The only practical changes are the addition of `disable_warning = 0`
2020-05-10 08:24:40 -04:00
Rykka
dd187c900d Port over Hover Inventory and Body Zone Hover Indicator
The body zone selector now indicates which body part you are about to select when hovered over, and the hover inventory indicator basically shows where you are trying to put an item, and then shows an item ghost in red or green, giving visual feedback as to if that item will go in the slot or not.

Gifs of this in action:
![https://i.imgur.com/MTi7Kpn.gif](https://i.imgur.com/MTi7Kpn.gif) Body Selection parts.

![https://i.imgur.com/KbLqWKy.gifv](https://i.imgur.com/KbLqWKy.gifv) 
Inventory Icon Overlays!

Credit goes to @ShadowLarkens for original port to Paradise and assistance with port to Virgo. Sending to Polaris ASAP.

- A note on `code/game/objects/items/weapons/storage/internal.dm`, VSCode automatically corrected the line endings, hence the massive filediff. The only practical changes are the addition of `disable_warning = 0`
2020-05-10 07:29:53 -04:00
Aronai Sieyes
adcc8047d6 Redo teleporter control in nanoui 2020-05-07 21:10:58 -04:00