Commit Graph

889 Commits

Author SHA1 Message Date
Erki
25b5f7ca8b Log TGS shenanigans. (#5892) 2019-02-18 08:59:28 +02:00
Werner
93472659b7 Adds a helper proc for money transfers (#5876)
Adds a helper proc for money transfers between two accounts.
Cleans up the EFTPOS and cargo delivery code to use said helper proc.
Changes SSEconomy to use indexed lists for accounts and look up the accounts by accessing it via the index.
2019-02-03 01:12:31 +02:00
VTCobaltblood
ec6760ce5f Leather jackets can now be unbuttoned (#5911)
As well as their corporate version.
2019-01-22 22:40:31 +02:00
Erki
f29506a45a Leave any sanity you had at the door step (#5885) 2019-01-03 19:08:54 +01:00
Erki
2daef5c6b6 Announcing live test PRs (#5857)
* Implement one.

* REVERT ME LATER

* Initial implementation dooonnee.

* log

* Fixes

* Lazyness squared
2018-12-31 03:55:16 +01:00
BurgerLUA
b1c1eaf2b3 Reverts #5773 and adds debug messages for Antag Selection (#5777)
See title. Extended was running 24/7 for some reason and I would like to know why.

Fixes #5776
2018-12-16 20:05:35 +02:00
BurgerLUA
4cbd2f4e2c Gamemode Start Tweaks (#5719)
When the round refuses to start because of a lack of players or lack of antags, it will properly state this instead of stating that there aren't enough players.

The Wizard gamemode, and the Ninja gamemode, both have restrictions that prevent the gamemode from being launched if there are more than 15 players, unless it was voted specifically.
2018-12-11 20:38:31 +01:00
BurgerLUA
dd950c8659 Random Virus Event Overhaul (#5615)
This PR makes it so that random lethal viruses can only occur if there is a virologist to cure them. This PR also makes it so the viruses themselfs don't have completely random effects, but effects that make sense together by adding a new system.
2018-12-06 15:00:16 +01:00
BurgerLUA
c35ce60a50 Cigarette Fixes (#5597)
There was an issue with one of the travis checks that caused reagents with incorrect specific heat values to sneak into the game and cause havok. This fixes that.

Fixes #5594
Fixes #5593
2018-11-12 09:39:28 +02:00
BurgerLUA
72354100bd Roundtime Based on Realtime (#5500)
* added

* arrow requested changes

* actually does arrow's request
2018-11-08 23:40:43 +01:00
Erki
a85c687146 Allow hard daemon reboots at regular intervals to help with memory (#5503)
DreamDaemon leaks memory between restarts, which might exacerbate us potentially running out of memory. This allows us to reboot the server every n rounds.

Also refactors the way we handle things that should be saved inbetween rounds. Like gamemode and the restart counter.
2018-11-04 18:38:10 +02:00
Werner
86a9f5cb48 Merge branch 'upstream-master' into upstream-development 2018-11-04 13:49:40 +01:00
Erki
a6be2156f8 Travis Musings (#5116)
Bumps Flyway.
Moves a script that should be a code check to the code checks.
2018-11-03 23:36:36 +01:00
BurgerLUA
1b10bb1fe5 Temperature Reagent System (#5423)
Overview
This is the github WIP PR for the reagent system project. This is for other developers and users to track progress of the code if they're curious about it, as well as to show that it actually works.
2018-11-04 00:17:40 +02:00
Werner
a42e6a118b Converts Economy to a Subsystem (#5253)
Converts Economy to a Subsystem and cleans it up a bit
2018-11-03 15:34:22 +02:00
BurgerLUA
5c972f5305 Toxins Remap (#5357)
Remaps toxin to be a significantly more pleasing area to work in. Everything was tested thoroughly, save for the doppler array which should be easy to fix if anything is broken.
2018-10-27 20:57:51 +02:00
Lohikar
4aaee63a12 Refactor random warehouse (#5430)
* Refactor random warehouse garbage

* what do you mean cargo shouldn't get vials of lightning

* this is what I get for doing this file at 2 AM
2018-10-23 22:51:13 +02:00
BurgerLUA
a90138e0f4 Fixed Starting Nutrition/Hydration (#5438)
Byond doesn't know how to handle decimal based probabilities and just rounds up. Example, rand(0.5,75) will return 1, which caused everyone to spawn with max nutrition/hydration.
2018-10-21 00:20:22 +03:00
skull132
16eae6c246 Merge branch 'master' into development
# Conflicts:
#	html/changelogs/.all_changelog.yml
#	maps/aurora/aurora-4_mainlevel.dmm
#	maps/aurora/aurora-7_roof.dmm
2018-10-07 01:33:20 +03:00
BurgerLUA
4319c45133 Thirst Mechanics (#5255)
Overview
Adds thirst mechanics. Thirst mechanics work exactly like hunger mechanics where if you don't drink enough liquid, you become thirsty and move slower. Several other mechanics involving drinks were also changed.

For organic races, you gain hydration by consuming beverages and water. Water is the most effective way of hydrating yourself. IPCs are not affected by hydration and do not have to worry about it. If you overeat or overdrink, your nutrition decreases faster until you are of normal hunger and thirst levels.

Penalties for not eating or drinking are now more severe. If you refuse to drink or eat all shift, you will be up to 33% slower and take twice as much pain damage. The amount scales based on your hunger or thirst levels. If you are considered hungry or thirsty, it starts scaling until you're starving or seriously dehydrated. If you overeat and overdrink as well, you get a ~5% reduced movement and pain tolerance with each mechanic.

The icons for hunger have been updated to be more specific, and they match the new thirst indicators as well. https://i.imgur.com/QQbWxYI.png

You can now also inject beverages into your blood for x4 effectiveness. Before, IV dripping yourself with vodka did nothing but give you a small amount of toxins, but now it should be a hell of a party.

Dionaea can now be affected by beverages with respect to nutrition gains and temperature changes. Dionaea cannot be affected by some effects, such as stuttering and intoxication, still.

Healing effects for certain beverages (tea, milk) were removed. This a HRP server, milk shouldn't heal you.
2018-10-07 00:14:47 +03:00
Alberyk
a42929ee64 Might fix this annoying bug. (#5346) 2018-10-03 12:50:38 +02:00
Alberyk
530b9102db Adds ouija boards and magic eightballs (#5238)
Both items taken from the tgstation.

Magic eightballs allow you to ask a question, picking up a random answer. Or they might ask the dead on the deadchat, if it is a haunted one.

The ouija board allows some possible limited communication with the ghosts, however anyone else can move the planchette, allowing people to mess with other person as well.
2018-09-15 01:00:09 +02:00
BurgerLUA
8ef2226b07 Battlemonster Bug Fixes and Tweaks (#5275)
Fixed the vendor sprite being wonky. (Unreported)
Fixes #5267
Adjusted Battlemonster Star calculation.
Slightly lowered the cost of battlemonster cards.
Deck searching speed is now based on the number of cards in the deck.
2018-09-14 21:59:01 +02:00
BurgerLUA
95d80f9e92 Battlemonster Tweaks Part 2 out of 50 (#5230)
* Added

* spacing fix
2018-09-05 02:12:26 +02:00
skull132
05000ed480 Merge branch 'master' into development 2018-09-02 23:05:28 +03:00
BurgerLUA
e0430c1bdc [REVIEW ME PLS] Battle Monsters Card Game, or the last* PR. (#5141)
Overview
Adds Battle Monster cards. Battle Monsters is a collectable card game clone like Yugioh or magic the gathering. Players can purchase card packs and use them in games with actual rules to them.

Checklist
Card Generation Framework: 100%
Sprites: 80%
Game Rules: 90%
Deck Framework: 5%
Monster Cards: 20%
Spell/Trap Cards: 5%
Obtainable Status: 0%
2018-09-02 20:54:27 +03:00
Erki
3c638798b2 Fixes voting (#5215) 2018-09-02 17:12:03 +02:00
MarinaGryphon
2614787b02 Fixes early transfer voting. (#5214)
* Now properly checks against round_duration_in_ticks instead of world.time.
 * Replaces all instances of world.time in SSVote with round_duration_in_ticks. Should result in more internal consistency overall regarding crew transfer vote timing.
2018-09-02 14:14:30 +02:00
MarinaGryphon
b47df48153 Fix #883 (#5209)
Well, is it really #883? Who knows. Only bug that met the description of the bug I was aiming to fix, and I think they overlap-- did no one really report the longest-lasting and most glaringly obvious stat pane bug?
2018-09-01 20:54:39 +03:00
Werner
f1c7c4e091 Ports TGs System of Cargo Rewards and Bounties (#4998)
This Ports TGs System of Cargo Rewards and Bounties.
It also changes the paths of some of the foods (to be easier to use with the bounites)
It integrates the bounty application into the cargo control app
The cargo control app can now print invoices for orders and shipments
https://forums.aurorastation.org/viewtopic.php?f=21&t=11529
2018-08-04 21:34:18 +02:00
Karolis
4065e29e86 Vue.js UI implementation (#4868)
This UI is going to be more integrated with BYOND host objects. It's update principal is very different from nanoui's. It is based around state that is being synchronized with server and client (browser). Such synchronization has it's problems, like it can't handle rapid changes, what could cause client and server to become out of sync and client state to be discard.
2018-08-04 20:19:29 +03:00
BurgerLUA
8519dcc393 .loc = to forceMove() (#4937)
As requested, this PR is changed to only include all .loc = to forceMove() changes.
2018-08-04 01:48:58 +03:00
Erki
b9e981e0b8 Implements TGS3 API (#4800)
Since TGS3 is much-much-muuuuch gooder than my Python server monitor, it will be worth migrating there.
2018-07-22 21:11:40 +03:00
Erki
39a6aac2de Journalism, vol 2. Freedom Unbecoming. (#4999)
Implements this: https://forums.aurorastation.org/viewtopic.php?f=21&t=11375&start=10#p101753

Basically: journalists get immunity from D-notices, corporate reports get extended access. Also added a mechanism to add alt title based access more easily.
2018-07-22 13:26:35 +03:00
Erki
3d848e7cee Fixes "3" (#4993)
In converting some things from show_message to visible_message, people forgot that the 2nd argument is not range. But is instead, either blind message or user message. So I fixed it. Also added some high lighting and user messages.
2018-07-21 14:07:12 +02:00
BurgerLUA
1bd59b6532 [Ready] Asteroid Dungeons (#4884)
Adds Asteroid Dungeons framework to the game. Mappers can make their own asteroid dungeons to the game. Currently there are no asteroid dungeons that can be loaded.

Anyone can make a dungeon like anyone could make a change to a map. A readme file is included inside the maps directory for information regarding how to add your own dungeon to the map.

There's an added config function in the example config that determines whether or not asteroid dungeons spawn. I also included 2 bat files in mapmerge and mapmerge2 that backup the asteroid dungeons spawns so that they can be used in mapmerge.
2018-07-20 22:10:35 +02:00
skull132
7cd79c4ce5 Merge branch 'master' into development 2018-06-30 20:33:51 +03:00
Lohikar
b4fdd35a1e MZ Fixes (#4936)
changes:

Fixes a regression in GetAbove/GetBelow() that caused passing an atom that wasn't directly on the map to return a false negative.
Fixes runtime's broken Z1 MZ by moving it to Z2.
Fixes some outdated Z-level defines on Runtime.
Moves z_levels global to SSatlas for easier debugging.
Atlas will now list the size of the world in its MC entry.
Map diffs are fucked up because of the index shift, nothing on the maps themselves was actually changed beyond adding a blank Z at the bottom.

Fixes #4692.
2018-06-26 23:16:23 +03:00
Karolis
f29d702b85 Made BYOND to automaticly retry setup if mode fails to start (#4892)
As title says. Also tries up to 12 times, what should be more than enough.
2018-06-21 22:02:27 +02:00
MarinaGryphon
9923213335 Journalism/Newscaster Overhaul, Take One (#4857)
Newscaster stories can now be multiple lines long and contain pencode formatting.
You can now post and view comments on individual newscaster stories.
Newscaster stories have slightly neater styling.
You can now like and dislike newscaster stories, and these are tracked per-story.
Journalists are now their own role, with a Security Correspondent alt-title.
The merchandise store (when has it ever been used?) has been replaced with a journalist's office.
The journalist has a pet spiderling in a jar, named Peter. He's harmless. Probably.
2018-06-17 12:18:15 +03:00
Lohikar
4ca4332076 Priority Tweaks (#4814)
Reworks all subsystem priorities to correspond with how the priority var is actually supposed to be used.

Relevant comment from MSO:
Prioritys are a weight that controls how much of the byond tick the subsystem will be allowed to have, 50 was the default, so a subsystem with a priority of 100 would be allocated twice the amount of runtime as normal, and 25 would get half the amount.

Also ports some minor MC micro-optimizations from TG.
2018-06-01 23:43:39 +03:00
Werner
aab67e5e2e News Loader Changes (#4788)
Some changes to the news loader to prep for player news.
2018-05-24 20:59:35 +03:00
Lohikar
bf2f6fb28d Devour Fixes Pt. 5 (#4782)
Fixes #4780.
Fixes an issue where SA adult slimes were improperly considered organic mobs.
Fixes an issue where viscerators, malf drones, and spiderbots were not considered synthetic mobs.
2018-05-22 01:20:57 +03:00
Ron
e388235cef Changes (#4594) 2018-05-12 21:15:01 +02:00
BurgerLUA
3a4c927435 Adds Butanol Drinks to Flasks (#4686)
What the title says. It's very simple.

It just werks.
2018-05-06 18:55:00 +03:00
Erki
28a1d8d3d7 Remove duplicate macros (#4683) 2018-05-06 18:31:03 +03:00
Werner
070a4d0b31 Vote Troll Logging (#4632)
Provides the admins with a list of players that voted for a gamemode but didnt ready up for it, if the start of the round fails.

not using log_and_message_admins since the prefix can not be overwritten

https://forums.aurorastation.org/viewtopic.php?f=18&t=10844&start=20#p96979
2018-05-06 17:51:37 +03:00
Werner
6158575afc Load static lore news from the DB at the start of the round (#4618)
Converts the news network into a subsystem
Loads news from a database at the start of the round
No longer ties the PDAs to the tcoms system to access the news (which was broken anyway)
Removes the trivial news event
Adds the already existing virology / xenobiology containment events to the rotation
2018-04-29 22:47:30 +03:00
Werner
cfd1900ee4 Security Fines (#4634)
Allows security to fine criminals with the sentencing console
Prints a human readable copy of the charges and the applied sentence
2018-04-29 20:34:49 +03:00
Werner
ed504cbe20 Add a approval step to cargo_items (#4639)
Expands the cargo table to require the approval of items before they are displayed on the server, enabling the creation of a module in the web interface.
2018-04-29 17:35:06 +03:00