Commit Graph

925 Commits

Author SHA1 Message Date
Rykka
0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00
Atermonera
7428d47c83 Merge pull request #7508 from Rykka-Stormheart/shep-dev-persistence-patch
Persistence Patch
2020-08-20 19:31:12 -07:00
Atermonera
af81780ba7 Merge pull request #7397 from ShadowLarkens/tgui4.0-and-camera-console
TGUI 4.0 and camera console
2020-08-20 17:52:17 -07:00
Rykka
2ad7b475ec Persistence Patch
- Fixes Paper and font tags stacking across rounds, as shown in: ![](https://cdn.discordapp.com/attachments/187013248309002240/741937939382141000/164fdd3a37fb22f18dfa9b5c431ffc04.png)

- Fixes Persistence being always-on because of if("persistence_enabled") config.persistence_enabled = 1. As explained: 
> it's on by default, which means config.txt will be read and if it's not there it stays at 1. If it is there,it gets set to 1. There is no way to disable it

- Adds config options to enable/disable **Persistence for Maploaded objects**, as well as a verb to toggle such.
- Adds Persistence to config.

Currently IGNORE_MAPLOAD for Persistance is **Disabled.**
Maploaded objects/dirt/etc will be saved by persistence, preserving current behavior.

You will need to update config.txt with the following lines:
\## Uncomment this to DISABLE persistence 
\#PERSISTENCE_DISABLED 
 
\## Uncomment this to DISABLE maploaded trash/paper/etc from being saved by the persistence system. 
\#PERSISTENCE_IGNORE_MAPLOAD
2020-08-16 09:58:57 -04:00
Atermonera
f621edf039 Adds overmap sensors to the Southern Cross (#7436)
* Enables overmap on SC, adds wip Sif to SC skybox

* codersprites

* Adds overmap sensors to the Southern Cross
2020-08-12 18:31:19 -07:00
ShadowLarkens
7349c62356 Merge remote-tracking branch 'upstream/master' into tgui4.0-and-camera-console 2020-08-06 21:29:47 -07:00
Atermonera
1fc6477d5e Merge pull request #7393 from Rykka-Stormheart/shep-dev-tg-alerts-updoot
Port lots of things that had to wait on alerts (Replaces Arokha's PR)
2020-08-06 11:38:16 -07:00
Atermonera
14ac75b579 Merge pull request #7392 from lbnesquik/Kot-Restart-Sentnece
Add a 'Restarting world!' notice.
2020-08-01 21:15:21 -07:00
ShadowLarkens
971a95bc0a TGUI 4.0 & Camera Console 2020-07-30 17:48:11 -07:00
Atermonera
f1eb479af6 Merge pull request #7317 from ShadowLarkens/tgui
TGUI-V3
2020-07-30 14:11:32 -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
lbnesquik
4ca45f95d3 Add a 'Restarting world!' notice. 2020-07-30 20:41:43 +02:00
Cerebulon
03b7a0ea0d Persistent Trash/Dirt/Graffiti/Notices (#7337)
* Port Trash/Writing Persistence from World

* stuff beyond straight portin

* Fixed admin menu

* Config, cigbutts, blood exceptions, offices....

* mapped butts
2020-07-24 02:23:34 -07:00
ShadowLarkens
c06a2d2cef TGUI v3.0
This ports TGUI, and makes the old nano crew monitor and the disposal
bins use it as first examples.
2020-07-09 22:06:23 -07:00
Leshana
07d483203d Fix sector initialization stack overflow crash.
- Replace changes from 8c7371c5d4
    - Removed debugging prints in skybox generation
    - Reverted change to GetConnnectedZLevels to avoid the chicken-or-egg initialization issue of find_z_levels() requiring knowledge of a sector's z-levels during the attempt to determine a sector's z-levels.
    - Make find_z_levels() always called again so that lazy open space initialization works on landable ships again.
- Instead, allow static configuration of sector map_z to override the default behavior of calling GetConnectedZLevels()
2020-06-25 10:40:22 -04:00
Atermonera
80c1557263 Enables overmap on SC, adds Sif to SC skybox (#6954)
* Enables overmap on SC, adds wip Sif to SC skybox

* codersprites
2020-06-17 16:12:20 -07:00
MistakeNot4892
424651c9b6 Generalizes supply points per material sheet to the material datum. 2020-06-16 08:48:14 +10:00
Atermonera
3a76acafef Merge pull request #7276 from lbnesquik/Kot-Supply-updatye
Make it so you can FINALLY export other things but platinum and phoron.
2020-06-14 18:30:51 -07:00
Leshana
ddd2fc53bd Check vchat loaded flag before attempting to call putmessage 2020-06-06 15:16:59 -04:00
lbnesquik
95c709ac71 Make it so you can FINALLY export other things but platinum and phoron. 2020-06-06 04:48:14 +02:00
Atermonera
55e12aad7b Merge pull request #7210 from VOREStation/vplk-static-power
[PORT] Static Machinery Power
2020-05-30 21:18:27 -07:00
Atermonera
551fc88ce1 Merge pull request #7204 from VOREStation/Arokha/performance
Performance improvements
2020-05-28 12:47:08 -07:00
Atermonera
15a1747f11 Ports manifest duplication fix from Virgo (#7230) 2020-05-24 14:24:04 -07:00
Atermonera
15df57b021 Fixes runtime in ticker.dm, 424: Cannot read null.mob_type 2020-05-23 18:26:11 -07:00
Atermonera
52799474f8 Fixes runtime in ticker.dm, 411: Cannot read null.mobtype (#7226) 2020-05-21 20:28:28 -07:00
Leshana
ccef6cc908 Implements "static" area machinery power usage
- Instead of using auto_use_power to re-tally up machinery's power usage every cycle, track the steady "static" load separately from the transient "oneoff" usage.  Machines then only need to inform the area when they use oneoff power or *change* their steady usage.
- Remove auto_use_power and stop SSmachines from calling it.
- Add vars to track "static" usage for each of the three power channels to /area
- Rename the existing three vars to "oneoff" so its clear what they mean (and to catch people accidentally updating them directly)
- Update area power procs and APCs to use the new variables.
- Rename /area/proc/use_power() to use_power_oneoff() to make it clear what it is doing.
- Deprecate /obj/machinery/use_power() in favor of use_power_oneoff() but don't delete yet.  Can transition gradually.
- Add logic to the update_power procs on machines to calculate the deltas and update static area power whenever their usage changes.
- Add logic to machines to update area power when they are created, destroyed, or move.
- Moved /obj/machinery procs related to area power usage into machinery_power.dm to make them easier to find.
- Added or updated comments in several places to explain what is going on and how to use it.
2020-05-19 20:17:48 -04:00
Aronai Sieyes
c0f1feb351 Move openspace object updating to event listeners 2020-05-19 16:29:43 -04:00
GeneriedJenelle
fe503a1279 Allows you to toggle off Byond/Discord/URLs in OOC
Just toggleable OOC options that you can enable or disable at any time. Might be useful if you guys get hit.
2020-05-19 16:29:18 +01:00
Atermonera
54577cc012 Merge pull request #7104 from VOREStation/pol-aiborgrefac
Refactor some job joining things related to robofriends
2020-05-10 15:29:14 -07:00
Arokha Sieyes
07e2efb9b8 Fix/rename some timing stuff 2020-05-08 01:51:24 -04:00
Aronai Sieyes
01c98b93e4 Some refactors of noncarbon joins 2020-05-07 19:51:02 -04:00
Aronai Sieyes
df12cd888a Port SSnightshift from Paradise
Makes the station have a night mode.
2020-05-03 21:17:55 -04:00
Aronai Sieyes
bfaf43e65f Planet subsystem static lists 2020-05-03 21:17:20 -04:00
Atermonera
653cb2f2c3 Merge pull request #7053 from VOREStation/pol-airefactor
Refactor AI into two subsystems
2020-05-01 12:09:08 -07:00
Atermonera
9523a5e590 Merge pull request #7042 from VOREStation/vplk-iconsheet-asset-cache
Add "icon sheet" asset type
2020-04-29 13:55:07 -07:00
Aronai Sieyes
c9495707cc Remove AI subsystems TICKER flag 2020-04-28 23:25:03 -04:00
Aronai Sieyes
b98027d050 Various fixes while waiting on PR 2020-04-27 10:48:04 -04:00
Aronai Sieyes
dcf88640ee Adds an overmap helper to find what sector you're in 2020-04-27 10:34:28 -04:00
Aronai Sieyes
c170436256 Refactor AI into two subsystems 2020-04-27 10:11:49 -04:00
Atermonera
abb66e24ed Merge pull request #7035 from VOREStation/vplk-shuttle-construction
[PORT] Ship/Shuttle Console Construction
2020-04-25 13:22:12 -07:00
Leshana
63f0f69ce8 Add "icon sheet" asset type
This asset class bundles entire dmi files worth of icons together into a single CSS file using inline data urls.  Much faster than sending dozens of files.
Also changed it so we don't need a hard coded list of all types of asset daturms.
2020-04-25 15:58:27 -04:00
Leshana
ec86a98e16 [PORT] Refactor the gameticker controller into SSticker (#6994)
* Move gameticker to subsystem folder before editing to track history thru rename.

* Refactor the gameticker into SSticker

  - Instead of independently spawn'd while/sleep loops, it stores its state and lets the MC fire it.
  - Convert relative path indentation procs to absolute path as per modern style standards.
  - Break apart the inner loops into separate procs so you can see what is actually going on.
  - It now shows up in MC tab, along with stats about what phase it is in.

* Revamp Start Now admin verb to actually wait until init is done before starting.

* Update Lobby stat panel to show voting and server init status.

* Fix: Only call autogamemode vote once.

* Spawn statistic_cycle off to not sleep SSticker.

* Add SStickere changelog

* Change to use to_world and add wrapping spans.

* Added filtering spans by specific request of Polaris.
2020-04-25 12:26:54 -07:00
Leshana
acbbe7d9c5 Setup auto-configuration of shuttle consoles.
- Its now possible to put shuttle consoles on a shuttle without a specific subtype or mapediting the shuttle_tag on them.
- After shtutle initialization, SSshuttles gives each initialized shuttle the chance to scan its areas for consoles it wants to claim and configure.
2020-04-23 19:08:30 -04:00
Leshana
5dbf08b462 Refactor the Open Space controller into MC Subsystem
- Basically just refactor doWork() into fire() with the capablity to return in the middle with MC_TICK_CHECK.
- Move some vars around to be more organized.
- Only functional change is that when a turf is queued twice in one cycle, the second queue moves it to the end of the list instead of it being in the queue twice
2020-04-14 09:38:23 -04:00
Leshana
2d37c09d12 Commit move of open_space_controller.dm to subsystems folder to track history through rename. 2020-04-14 09:37:58 -04:00
Atermonera
742d4002f8 Merge pull request #6987 from VOREStation/vplk-adminload-atmos
[PORT] Fix offline vent pumps and scrubbers on loaded maps.
2020-04-12 23:21:24 -07:00
Atermonera
28bede5936 Merge pull request #6977 from VOREStation/vplk-remove-ss-references
Remove non-global references to SSgameMaster and SSevent_ticker
2020-04-12 23:14:20 -07:00
Atermonera
1cae548d08 Merge pull request #6966 from VOREStation/vplk-bye-area-new
Refactor away area/New()
2020-04-11 21:40:51 -07:00
Atermonera
f65aa7eb13 Merge pull request #6981 from VOREStation/vplk-overal-missed-fixes
Port followup misc fixes
2020-04-10 23:50:48 -07:00
Atermonera
68927cbc0d Merge pull request #6970 from VOREStation/pol-couplefix
Fix 2 bugs
2020-04-10 23:49:46 -07:00