Commit Graph

1101 Commits

Author SHA1 Message Date
pigeons
4e05dd63f9 Fixes timer id collision (#29437)
The list of active timers timer_id_dict identifies timers by their numerical id as a string. However this was done using embedded expressions inside the string, which calls num2text with a default of 6 significant figures. This means anything at or above 1 million is expressed in scientific notation.

"timer[1000000]" -> "timer1e+06"
"timer[1000001]" -> "timer1e+06"

Calling num2text manually with 8 significant figures kicks the collision problem down the road to 2^24 (16 million).

nextid is now selectively incremented and is looped back to 1 when reaching the 2^24 threshold.
Also now includes collision checking.
2017-07-26 11:48:21 +12:00
AnturK
9380c503d8 Adds logging of shuttle request reasons. (#29457) 2017-07-25 11:53:15 -03:00
Jordan Brown
0321e6bd85 DCS Continued (#29324)
Adds's documentation to the DCS system, refactors to improve the caller API
2017-07-25 09:44:19 +12:00
oranges
ab940008b8 Merge pull request #29454 from ShizCalev/nanotrasen
Standardized the corporate name
2017-07-25 09:34:20 +12:00
oranges
d243740577 Merge pull request #29446 from monster860/fixhub
fixes hub not working ree
2017-07-24 11:05:50 +12:00
shizcalev
f31cbb3ac5 Nanotrasen 2017-07-23 04:08:57 -04:00
monster860
52e6275849 fixes hub not working ree 2017-07-22 17:41:46 -04:00
Jordan Brown
f888a88f4c Merge pull request #29349 from lzimann/scopres
Adds proper containers for some locates
2017-07-19 16:18:03 -04:00
Ashe Higgs
2438bd2aa8 Small belt overlay rewrite, and tool overlays for toolbelts (#29180)
* Belt overlay tweaks, tool overlays

* Belt overlays now have their own file

* work on porting to the new screwy looks

* Work on screwdrivers

* Fixes screwdrivers

* really SCREWED that one up!
2017-07-19 15:29:35 +01:00
Lzimann
c92ec9c5e4 Adds proper containers for some locates 2017-07-18 16:23:10 -03:00
ShizCalev
45d3d52af7 Made some object lists less terrible to read (#29304)
* spaces

* more spaces

* last ones
2017-07-18 10:44:29 -04:00
Emmett Gaines
1d201939ba [Ready] Shuttle dock() rewrite (#29049)
A complete rewrite of the dock proc for shuttles to make it more maintainable and readable and also bring over some new features while we're at it. This allows for multi-area shuttles and more control over the effects of anything being moved.

Areas, and movable atoms all have (before|on|after)ShuttleMove procs, turfs have (from|to)ShuttleMove procs which are called the same as beforeShuttleMove.

All ShuttleMove procs have been moved to a single file in the shuttle module.

Stationary docks will have their baseturf_type and area_type modified in maps once the problems have been worked out.
2017-07-17 12:17:56 +12:00
Jordan Brown
bcb85acb1e Ports /vg/'s datum component system (#29178)
* Ports /vg/'s component system
2017-07-17 12:10:25 +12:00
Fox McCloud
2cc3e9c41f Disease Refactor (#29130)
* Vomit Now Contains Viruses

* eh

* typeless memery

* Disease Refactor

* tweaks

* styling

* tweaks

* unecessary comment removal

* whoops

* fix
2017-07-15 11:08:40 -04:00
Tacolizard
76edcf1c40 Allows admins to set messages when they delay the round end (#29064)
* initial

* fixes

* changes

* move to SSticker

* logging

* msg changes

* fix

* Jordie changes

* remove span

* change if

* fix

* cyberboss review
2017-07-10 10:55:17 -04:00
ShizCalev
59ef81245b Changes some 1s and 0s to TRUE and FALSE (#29144) 2017-07-10 10:31:34 -04:00
Kyle Spier-Swenson
eeab8f71bb Make timer debug info more robust (#29100)
* Make timer debug info more robust

* Update timer.dm

* Update timer.dm

* Update timer.dm

* Update timer.dm

* Update timer.dm

* Update timer.dm

* Update timer.dm
2017-07-07 22:18:44 -04:00
oranges
b825ca1545 Machine subsystem now checks qdel status (#29073)
If an item is qdeleted, it is not queued for processing and removed
from the processing list (if it's not already gone)

This will prevent machines getting processed when qdeleted (due to being
cached in the subsystem current run list)
2017-07-06 22:46:38 -05:00
Jordan Brown
3388e735e6 Speeds up SSoverlays (#29037) 2017-07-06 20:20:44 -04:00
Shadowlight213
68102aaa0c Refactors speech/communication logging and adds coordinates to speech logs (#28997)
* Adds locations to speech and related communications
Refactors how logging is handled for these.

* changes

* ahhhhh

* preemptive merge conflict undoing maybe?

* Let's not delay this further
2017-07-06 16:06:43 -04:00
Joan Lung
407e0e77e4 Ruin placement will try very hard to place any ruins with negative costs before attempting any other ruins (#28973)
* Ruin placement will try very hard to place all 0-cost ruins before placing any ruins with actual costs

* comment

* account for ruin variants properly please

* cost has a cost of 5

* tweak
2017-07-02 22:57:32 -04:00
Jordan Brown
5b66f2f1b2 Speeds up SSoverlays (#28933) 2017-07-01 15:55:11 -03:00
AnturK
0c3edf1ff7 Shuttle engines affecting travel time (#28564) 2017-06-25 22:52:06 -03:00
Really-Good-Soda-Flavor
e48df5338c [READY] New holidays including Thanksgiving and Ramadan (#28054)
* New holidays and weekday helper

* Got rid of var/

* Added separate Thanksgivings and removed an indentation on Tuesday

* Makes Mother's Day less ambiguous.

* Adds Ramadan heck yea

* Gives Ramadan a fixer-upper so it is accurate for a good while
2017-06-23 16:24:28 -04:00
nicbn
77a2d3f5cd Replaces "istype"s with is_helpers macros (#28676) 2017-06-22 15:03:19 -03:00
Leo
6eec4d68e1 Merge pull request #28674 from Cyberboss/Cyberboss-patch-1
Fixes an error message
2017-06-22 13:02:36 -03:00
Jordan Brown
20e8a91581 Fixes an error message 2017-06-21 10:26:21 -04:00
Leo
1965dfa0fe Merge pull request #28610 from Cyberboss/Cyberboss-patch-1
Round ID is now sent to IRC
2017-06-20 20:01:15 -03:00
Leo
c7c2d55cb7 Merge pull request #28607 from Cyberboss/satchel
[s] Disables persistence saving in sandbox mode
2017-06-20 20:00:33 -03:00
Jordan Brown
59a3865f60 Merge pull request #28600 from ChangelingRain/hiddenripley
Adds a heavily-damaged ripley as a lavaland ruin
2017-06-20 13:08:48 -04:00
AnturK
868d374fab Moves transit space to separate z level. (#28598)
* Transt Z-level

* Just in case

* Map edit

* I guess i forgot to push the few lines i changed at work.

* This one too

* Bluh
2017-06-20 11:31:32 -04:00
Jordan Brown
33420fc103 Round ID is now sent to IRC 2017-06-19 16:39:48 -04:00
Jordan Brown
dd6f13b6b3 Disables persistence saving in sandbox mode 2017-06-19 15:47:42 -04:00
Joan Lung
0fd7b8b842 Adds a heavily-damaged ripley as a ruin 2017-06-19 12:28:29 -04:00
Jordan Brown
aef58f9bf6 Events now check conditions again after admin delay (#28485) 2017-06-16 14:46:27 -03:00
Leo
da08532f0a Merge pull request #28469 from Cyberboss/TimerWarnings
Adds warning for misuse of deltimer
2017-06-15 22:47:58 -03:00
Jordan Brown
be17cf33ef Blackbox no longer records data after round ends (#28390) 2017-06-15 10:48:01 -03:00
Jordan Brown
a8dffe5eb2 Adds warning for misuse of deltimer 2017-06-14 16:07:29 -04:00
Leo
7ec5c0e5d3 Merge pull request #28255 from optimumtact/revert-28229-revert-28170-observerspeep
Players cannot observe before PREGAME is reached, Version 2
2017-06-13 21:42:09 -03:00
oranges
c866a77147 Players cannot observe before PREGAME is reached
Ready | Not Ready | Observe is now a three way toggle

The player ready status has been refactored into an ENUM of the three
states, READY, NOT_READY and OBSERVING

if the tickerstate is at least PREGAME they will spawn as observers,
before then you can only register your interest in observing.

All the observer code has been centralised into a single
make_me_an_observer proc on new_player mobs
2017-06-12 20:58:15 +00:00
Jordan Brown
6532461baa Fixes some edge cases with round end and mulligan antags 2017-06-12 12:31:43 -04:00
Lzimann
3e34eb9e3f Changes all sounds to be lower case, plus standardizes their references 2017-06-11 00:38:45 -03:00
Leo
c3fdc73f1d Merge pull request #28250 from Cyberboss/patch-109
Renames Air subsystem to Atmospherics
2017-06-10 21:10:23 -03:00
Joan Lung
d899ea5c4b Merge pull request #28272 from lzimann/thing
Adds a length check to medal commendations on post round report
2017-06-10 17:27:32 -04:00
Jordan Brown
76cea85641 Adds /image/proc/copy_overlays (#28233) 2017-06-09 22:10:52 -03:00
Joan Lung
b473fd64c7 Merge pull request #28237 from tgstation/lzimann-patch-1
Fixes death report giving the wrong damage type
2017-06-09 21:06:12 -04:00
Lzimann
6c94c63e77 Adds a length check to medal commendations 2017-06-09 12:44:16 -03:00
Joan Lung
8ea8363d43 Merge pull request #28217 from Jordie0608/msodidmentionthisfirstbuthiswayifsomethingbreaksicanblameitallonned
Removes gender, adds round_id and splits up coord columns
2017-06-09 10:16:46 -04:00
Jordie
d05b3c51d8 Merge pull request #28209 from lzimann/whyisthishere
Moves borer completion to gamemode
2017-06-10 00:00:07 +10:00
Joan Lung
19f7169630 Merge pull request #28165 from Tacolizard/medalaf
Adds Medal Commendations!
2017-06-08 21:38:38 -04:00