Commit Graph

416 Commits

Author SHA1 Message Date
Mechoid
71e8b0399d Universal Anomalies (#7914)
* Xenoarch
* Map, cleanup.
* Convert to DCS.
* Attack hand, clean up.
* Allows some xenoarch item-finds to become anomalous.
* Reagents now actually trigger effects correctly.
* Anomaly Containers.
* Tweaks and Runtime Fixes.
* Adds visual effects to anomalies.
* Generalizes anomaly creation. "become_anomalous()"
* Modify as per comments. Cleans commented reference code.
2021-09-20 15:25:14 -08:00
MistakeNot4892
46994bc0f4 Merge pull request #8247 from Cerebulon/throwmode
Throw Mode QoL Tweaks
2021-09-03 15:36:57 +10:00
Cerebulon
4ff9b181e0 Throw Mode QoL Tweaks 2021-08-24 20:22:26 +01:00
Cerebulon
faf4a4121a Ports sliding things along tables 2021-08-23 00:45:08 +01:00
MarinaGryphon
593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
ShadowLarkens
fd3f581656 Make item/attackby call ..(), multitool tool quality fix (#8145)
* Make item/attackby call ..(), multitool tool quality fix

* Just don't print item attack messages on attackby
2021-06-20 11:51:14 -09:00
Aronai Sieyes
bac077a8ea Portable mapping devices (#8097)
* Refactor holomap generation

* Portable mapping units

* Fix misnamed state

* Make it small

* Reduce power usage

I didn't know you could use fractional amounts!

* Apply suggested changes, fix indent

* Fix icon_state bug
2021-06-13 20:30:00 -09:00
ShadowLarkens
0198ff3fbf Personal Crafting & Dependencies 2021-05-02 18:05:54 -07:00
atermonera
550f9deaf6 Examining dark click catcher doesn't show turfs 2021-03-10 11:17:18 -09:00
Mechoid
8dc04048ed Adds the Restraining Bolt. (#7820)
* Adds the Restraining Bolt.

* Malfunction.
2021-02-28 14:02:12 -09:00
Atermonera
692a8c2f41 Fixes dark click catcher (#7803)
* Fixes dark click catcher

* Safeguards against different view sizes

* Damnit example map
2021-01-03 15:20:32 -08:00
ShadowLarkens
983e7b8fc9 Merge remote-tracking branch 'upstream/master' into tgui_engineering 2020-12-24 04:50:24 -08:00
Atermonera
39b179bda4 Merge pull request #7739 from ShadowLarkens/dcs
Datum Component System (/tg/ port)
2020-11-26 10:52:05 -08:00
Mechoid
b411c75a19 Self-Surgery (#7671)
* Allows organics to self-surgery after standing still for 5 seconds. It follows the same rules as normal surgery.

* Confirm-by-delay for self-surgery steps.

* Verb to toggle self-surgery.

* Add log.
2020-11-18 13:55:33 -08:00
ShadowLarkens
dad9020f9a TGUI Engineering... and a bunch of other random things 2020-10-21 13:02:19 -07:00
ShadowLarkens
01cb75ffe8 Datum Component System (/tg/ port) 2020-10-18 12:08:38 -07:00
Atermonera
ba57d83191 Merge pull request #7584 from Rykka-Stormheart/shep-dev-borgo-fixes
Reverts #7560, Adds Proper check to syringes.dm and flora.dm for borgs
2020-08-27 18:45:20 -07:00
Atermonera
ffea09e303 Merge pull request #7570 from ShadowLarkens/fading_titlescreen
Fading titlescreen from /tg/
2020-08-27 17:39:09 -07:00
Rykka
f7fcdf2458 Reverts #7560, Adds Proper check to syringes.dm and flora.dm for borgs
ACTUALLY fixes problems with borgs permanently breaking their syringes and being able to put modules into potted plants, which causes unwanted fuckery.

Reverts #7560
2020-08-27 20:17:24 -04:00
ShadowLarkens
5d972a399c Fading titlescreen from /tg/ 2020-08-25 16:53:12 -07:00
Cadyn
12c77bd905 Cyborg bugfixes 2020-08-23 20:15:20 -07:00
Atermonera
96be4caa6f Merge pull request #7523 from Meghan-Rossi/ghostqol
Ghost sechud verb, shift-click examine, alt-click turf tab
2020-08-20 22:29:40 -07:00
listerla
12a6f0a647 Adds shift-middle click pointing (#7487)
* Adds shift-middle click pointing

* Borgs and buckled folk can now point

* Create Lorilili - pointing.yml
2020-08-20 19:14:15 -07:00
Meghan-Rossi
024bc796c0 Lets ghosts shift-click examine things and alt-click open turf tabs 2020-08-18 18:35:05 +01:00
ShadowLarkens
7349c62356 Merge remote-tracking branch 'upstream/master' into tgui4.0-and-camera-console 2020-08-06 21:29:47 -07:00
ShadowLarkens
971a95bc0a TGUI 4.0 & Camera Console 2020-07-30 17:48:11 -07:00
Rykka
28a7698b9e Port lots of things that had to wait on alerts
Adds a HUD for observers
Adds a HUD for rigs and mechs
Adds up/down buttons for AI hud
Add more tg style alerts
Fix some bugs with the tg alerts
Improve icon_states usage by caching it
Redo how respawning works, add a button to ghost hud for it
2020-07-30 16:23:32 -04:00
Shadow-Quill
a461d1f357 Pressing Q now properly updates borg modules (#7357)
* Press Q to refresh borg modules

* No usr for you
2020-07-22 22:39:10 -07:00
Kates
ce9ceb46e9 Add clickable action buttons from /TG/, rework a lot of backend and other improvements. (#7315)
* Fix a typo in a verb.

* Add straffing to mechs. This took my entire morning goddamnit.
You now have a straffing verb. Very convenient to shoot while firing back.
Thanks to @drexample even if i didn't use all that much of the original code i stole.

* Change straffing to strafing.

* Correct an oversight.

* Add a variable that determines whether or not you are in a mech or fighter at the moment.

* Rework a lot of mech code backend and add clickable buttons.
- Gygax overload, Durand defence mode, phazon phase, marauder smoke, zoom and thrusters have been made into modular things. Just put the 'smoke_possible' var to get those actions.
- Move most abilities that aren't for default mechs to 'Mecha_actions.dm' for less huge of a file. Marauder abilities to be moved shortly.
- Lot of verbs have been broken into procs such as toggle_lights() now being a verb refering to a lights() proc for easier work later on.
- Delete some movement code duplications.
- Changed the smoke system to be more up to date, inspiration taken from the cooking machines.

* Space out some things for ease for reading.

* Improve the damage readout for mechs on examine

* Improve speed boost code to an easier to modify version.

* Deleting a couple few forgotten debug messages.
2020-07-03 15:28:08 -07:00
Rykka Stormheart
8235afb3ae Merge branch 'master' into shep-dev-multicam 2020-06-01 14:23:03 -04:00
Rykka Stormheart
9917f31031 Merge branch 'master' into shep-dev-upstream-screenport 2020-05-30 06:54:08 -04:00
Rykka
021d0aedd1 Changes spawn to addtimer CALLBACK, and changes a usr << to to_chat 2020-05-30 06:40:00 -04:00
Atermonera
6ab622a2b5 Merge pull request #7205 from VOREStation/Arokha/playsound
Alter playsound paradigm
2020-05-28 16:05:59 -07:00
Rykka
373810b4a8 Fix some formatting, add the toggle verbs to the AI 2020-05-23 20:15:03 -04:00
Rykka
eec5d912f7 Fix leftover mymob calls and other things 2020-05-23 04:48:47 -04:00
Rykka
fc1d6e741c 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. 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 all into one proc, called container_resist().

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.

Alerts, pictured in the top right.
![https://i.imgur.com/H7Bipci.png](https://i.imgur.com/H7Bipci.png)
2020-05-23 04:48:47 -04:00
Aronai Sieyes
ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai Sieyes
1eb783a81a Refactor spacemoves 2020-05-19 10:40:40 -04:00
Aronai Sieyes
72d125e39f Fix #7581 2020-05-15 20:43:36 -04:00
Aronai Sieyes
a8f3a0a7a0 Refactor move/click code 2020-05-15 10:49:27 -04:00
Atermonera
eb8ad57917 Merge pull request #7135 from Rykka-Stormheart/shep-dev-hover-overlays
Port Hover Inventory and Body Indicators
2020-05-11 16:51:12 -07:00
Rykka
09183614fc AI Picture-in-Picture fixes, major exploit fix 2020-05-11 10:33:11 -04:00
Rykka
cc038370f9 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.

Polarisport is here! Port of https://github.com/VOREStation/VOREStation/pull/7752
2020-05-10 14:00:45 -04:00
Rykka
61ff2cbbce Earlyport Hover Inventory and Body 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.
2020-05-10 08:09:24 -04:00
Aronai Sieyes
ffe54ca240 Redo teleporter control in nanoui 2020-05-07 21:13:27 -04:00
KasparoVy
a9e7a4d16a Update Human HUD Generation to Fix Internals Graphical Bug
Fix an issue whereby when reconnecting to the server after disconnecting/losing connection your internals HUD element will always be off, even if you're actually still breathing from a tank.
Now it checks & shows the correct state so you don't panic after lagging out IN SPACE AAAAAHHHH
2020-04-15 02:19:09 -04:00
Mechoid
001d5b091f Merge branch 'master' of https://github.com/PolarisSS13/Polaris into ATaleofBlobsandMen
# FixConflicts:
#	polaris.dme
2020-04-09 22:55:42 -07:00
Leshana
c8d64783cc Simplify skybox parallax code and add support for scaling for larger client.view sizes.
- Hooked up skybox to recalculate it's scaling when the view changes.
 - Added constant defines to clarify where the magic numbers are coming from.
2020-03-23 20:19:28 -04:00
Leshana
5f8bc01ce3 Ports Skybox Parallax
- Port based on Baystation's implementation and customized for our code and usages.
- Switched space icon_state permutation to a "dust" overlay that is permutated the same way. As an overlay, the dust can be *above* the parallax planes. Space turfs are now white to allow skybox to BLEND_MULTIPLY onto them.
- Added skybox hud effect that replaces background space turfs with an image moved to create a parallax effect.
- Added skybox subsystem to generate and manage skybox parallax images, and lots of images for it!
2020-03-23 20:19:27 -04:00
Mechoid
cf5d750519 Blobwork, Human mobs with AIs can attack, AI mobs consider blobs to be enemies unless they're Blob faction. 2020-03-20 12:29:40 -07:00