Commit Graph

1078 Commits

Author SHA1 Message Date
Jordie
04442cd533 Merge pull request #22192 from optimumtact/spacevine
Spacevine refactor and qdel improvements
2016-12-18 22:42:22 +11:00
coiax
f2e96fd758 Hijacking a shuttle diverts it to the syndicate base (#22184)
* Added a Syndicate dock for the Emergency Shuttle

* Removes window from doorway to syndicate base

* Diverts shuttle if the hijack conditions are met

* Fixes incorrect define

* Shuttle needs people on it to hijack

* Redoes the syndicate base extension

* Centcom always lies
2016-12-18 19:48:32 +13:00
oranges
25a97a0f08 Add a way to detect recursive calls to qdel
This is usually caused by logic in destroys that lead to the object
being qdeleted again.

This can cause nasty recursive loops, so an exception (with a stack
trace) will prevent recursive stack crashes and also let devs chase the
runtimes
2016-12-14 07:45:33 +00:00
coiax
2426bcb7d9 Adds "weighted random" AI law config (#22081)
* Adds "weighted random" AI law config

- Streamlines some duplicated code for law config stuff
- Makes a new "weighted random" option for AI laws, where an AI has a
random lawset, but some lawsets are more common than others.

80% normal, 20% quirky.

For those unwilling to source dive, here are the weights:

- 32% Asimov
- 12% Asimov++
- 12% Corporate
- 12% Robocop
- 12% Paladin

- 4% Maintain
- 4% Reporter
- 3% Hippocratic
- 3% Live and Let Live
- 3% Peacekeeper
- 3% Drone

* Law weights are now in the config file
2016-12-13 13:42:35 +01:00
kevinz000
bb80984957 [READY: I DID TEST]I pulled a goofball and broke pAIs (#22161)
* ghost notifications

* FUCK

* fuck2
2016-12-13 21:06:51 +13:00
kevinz000
1400a0d525 YOG pAIS PART 1 - MOBILE CHASSIS (#21871)
* pAI Candidate Verb

* sprites

* fuckxenos

* ...

* animal+alien

* ...

* ...

* ...

* progress

* ...

* .

* ...

* fixes

* ...

* ...

* ...

* ghostUI

* .

* .

* ...

* fixes

* ...

* BUNNIES

* ....

* ...

* merf

* nerfs
2016-12-13 14:47:03 +13:00
Kyle Spier-Swenson
dedb16826e Speeds up world init. (93s -> 49s) (#21992)
* Speeds up world init.

* Armor is now new inited for obj and the first level of subpaths.
* Actions is now lazyinited and deleted with empty.
* Actiontypes is now only inited when actually used and deleted once it pre-fills actions with the action buttons.
* Pipes now prefill their node list(s) in new() using new /list/ (count) syntax to speed up the list initaliztions and remove the init proc.
* Pipes no longer store their item version, instead creating it on the fly when deconned
* Walls no longer store their metal stacks, instead creating it on the fly when deconned.
* obj, walls, floor, plating, item, machinery, structure, pipe, pipenet, atom, and movable no longer have an (init) proc. (along with a few other smaller examples)
* Atmos can pass checking is now a var with the ability to have a proc be call in advance cases.
  * (as a side effect, I had to fix a few things that were calling atmosCanPass rather then using the pre-calculated list, this should speed up chemfoam and flame effects greatly)

* Reverts upload limit
(remind me one day to defuck this, it could easily be a config thats not editable by vv to make changes easier)

* Makes apc update icon a bit faster.
APC new is some what high on the profile of world init, still not sure why, but this stood out as a waste of cpu so i fixed it.

* Fixes runtime with atmos backpack water tanks.

* Makes smoothing faster (and fixes turfs smoothing twice at init)

* Makes apcs init faster by replacing some spawns with addtimer

* fix transit turfs.
2016-12-08 21:50:15 +13:00
oranges
333a57dad5 Merge pull request #21953 from Incoming5643/panic_bouncer
The panic bouncer
2016-12-07 22:26:56 +13:00
oranges
2ff260d63d Merge pull request #21936 from Cyberboss/patch-5
Better addtimer logging
2016-12-06 10:20:30 +13:00
oranges
4f848deb43 Merge pull request #21931 from Incoming5643/stop_making_me_be_productive
Server defined round populations / support for roundtypes that only run in low populations
2016-12-06 09:10:31 +13:00
Incoming
44c52a8348 requested changes 2016-12-04 22:09:12 -05:00
Cheridan
688e8b57b8 Merge pull request #21926 from KorPhaeron/shuttles
Allows adding prerequisites to purchasing shuttles
2016-12-04 20:48:26 -06:00
Incoming
e0324a6fc8 If a server has both a linked server and the panic bunker on, you can now choose to redirect new players to the linked server instead of denying them outright.
You shouldn't use this if BOTH servers are panic bunkered, obviously.
2016-12-04 21:27:17 -05:00
Incoming5643
2c82b2d65e The time left on a shuttle call/recall modifies with security level. (#21906)
* The time left on a shuttle call/recall will now correctly modify with changes in the alert status.

As added functionality Code Green shuttle calls no longer need a reason (though you can still give one) and take 20 minutes to arrive.

* Takes out the fun part (for now)
2016-12-04 18:47:17 +01:00
Cyberboss
51c463815d Better addtimer logging 2016-12-04 01:17:09 -05:00
oranges
f3acff4706 Adds a ckey whitelist, stripping out some dead code (#21875)
* Adds a whitelist, stripping out some dead code in the process

Old job whitelist that wasn't used has been removed.

Config has been repurposed, uncomment USEWHITELIST, only ckey's in
admins.txt or whitelist.txt in the config will be allowed to connect to
the server

* More examples

* Add a guy

* Update whitelist.txt

* Put him in
2016-12-04 15:33:15 +11:00
Incoming
dc1f62fd4d You can now define a maximum number of players for a roundtype if you so desire, but no round type currently does this.
Server owners can now futz around with the minimum / maximum number of players for roundtypes via game_options.txt
2016-12-03 22:55:28 -05:00
KorPhaeron
c9dcd95473 Shuttle Requirements 2016-12-03 19:38:38 -05:00
AnturK
653ff618fb Merge pull request #21860 from MrStonedOne/patch-264
Fixes a small oversight in timer subsystem
2016-12-02 12:53:36 +01:00
oranges
ca894aa845 Merge pull request #21801 from Cyberboss/CloseTheDamnThings
MC/SS Shutdown. Tguis now close on world reboot
2016-12-01 12:12:38 +13:00
Cheridan
87b1755a8c Merge pull request #21847 from ChangelingRain/debrisbutton
Fixes the auto follow debris button
2016-11-30 16:59:10 -06:00
Kyle Spier-Swenson
0ed1c63066 Fixes a small oversight in timer subsystem
hashlist was designed to ensure that timers on different objects with the same name didn't get detected as the same timer, but when I added it, i forgot to make this line actually use the hashlist.
2016-11-30 14:43:09 -08:00
MrStonedOne
76e1c6916f VV refactor 2016-11-30 12:49:21 -08:00
Mervill
b5578df27d corrects some defs without leading slash (#21843) 2016-11-30 20:05:14 +13:00
Joan Lung
b3a809d21a Fixes the auto follow debris button 2016-11-29 11:48:16 -05:00
Cyberboss
56db0bfbc9 Better safe than sorry 2016-11-27 19:15:07 -05:00
Cyberboss
0625d2b05d Less hair on fire 2016-11-27 18:58:19 -05:00
Cyberboss
520f31d3fe Squash these please 2016-11-27 18:50:36 -05:00
Cyberboss
aa7d5497c8 Gahh this wasn't well though out 2016-11-27 18:49:55 -05:00
Cyberboss
d025a0335b Moved for master as well 2016-11-27 18:47:41 -05:00
Cyberboss
ac1003c9cd Didn't save everything 2016-11-27 18:46:04 -05:00
Cyberboss
c9dfce29ad At the behest of oranges and MSO 2016-11-27 18:45:29 -05:00
Cyberboss
53fe74fd6f Tgui cleanup 2016-11-27 18:09:45 -05:00
Cyberboss
43d1e77d06 Better checking 2016-11-27 18:06:36 -05:00
Cyberboss
8cf1b974dc You can now expect MC and SS Destroy to be called on round end
Runs the GC queue on SSgarbage Destroy
2016-11-27 18:06:08 -05:00
Shadowlight213
7a6511ddda Fixes the qdel reference finder (#21763)
* Fixes the qdel reference finder

* Speed improvements.
find_references is now a proc
2016-11-27 22:58:33 +13:00
Cyberboss
e37f807941 Fixes the false armblade removal timer. Refactors addtimer (#21714)
* Clever girl...

* Make the addtimer unique param safe

* Refactor addtimer calls

* Moved the location of the define so the other SSs can use it
2016-11-25 22:05:58 +13:00
Joan Lung
d4fa53d9ca Fixes clockcult round end stats showing up when they shouldn't (#21658)
* round end code is magic

* br
2016-11-22 16:23:27 +13:00
KorPhaeron
af71d20561 The round ending on one server will send a news report to the other server (#21636)
* News Reports

* Misc

* Typo fixes
2016-11-22 12:30:30 +13:00
Leo
cf95577153 Fixes religion subsystem (#21664) 2016-11-20 19:21:52 -06:00
oranges
6c1966d393 Merge pull request #21612 from KorPhaeron/ssreligion
Ssreligion
2016-11-20 14:54:12 +13:00
coiax
ef42272bf6 Mice no longer spawn on grilles (#21603)
* Mice no longer spawn on grilles

Fixes #21574. Mice no longer spawn on cables that have dense objects
also on the tile.

Also added the Mice Migration event, used for debug purposes, currently
disabled.

* Uses proc that exists to check for density
2016-11-19 22:28:41 +13:00
KorPhaeron
969abebade Adds a religion subsystem 2016-11-17 21:01:22 -06:00
coiax
fb997a07a7 Random mouse placement (#21483)
* Restructured handle_environment()

This creates the environment_is_safe() proc for simple_animals

* Mice are placed at roundstart randomly

Rejoyce as wires are bitten in random locations.

* Removes all mice from the maps

* Code review

* Code review II
2016-11-15 16:42:36 +13:00
KorPhaeron
ac065db80f Captain can buy a new escape shuttle (#21398)
* Captain can buy a new escape shuttle

* A messy way to fix/avoid the issue

* Hopefully fixes potential href exploit

* Makes the code better so oranges wont yell at me anymore
2016-11-11 10:22:46 +13:00
uraniummeltdown
effed6a69f fixed brains with no ckey, made borer roundend report much better, borer total hosts is 1+humans/6 instead of 6+humans/7, hopefully fixed issue with multiple ghosts entering borer 2016-11-10 22:18:56 +04:00
Shadowlight213
c2d0cf3066 Allows the possible roundstart random AI laws to be customized in config. (#21414) 2016-11-10 09:27:57 +13:00
uraniummeltdown
ea81370dce Cortical Borers (#21118)
Adds cortical borers, a midround antag originally from Bay. The code here is from yogstation, baystation and paradise station.

Borers are little brainslugs that when adjacent to a human can infest them. They can supply you with useful chemicals such as medicines and meth, and can revive you from the dead if they have maximum chemicals. They can also take over your body, putting them in control of you while you become a "captive mind". A captive mind can take back control by doing Resist. Health analyzers show borers in people, while medHUDs show borers in control. If you have Sugar in your body the borer can do nothing, it gets kicked out of control if it's controlling and becomes docile. Organ Manipulation surgery on head to remove the borer. If the brain of the body gets removed (decapitation, brain removal surgery, gibbing) the borer falls out of the host and loses control if they were controlling. Changelings can remove borers with Anatomic Panacea or Lesser Form (or Last Resort). Borers can reproduce and have an objective to escape on the shuttle with X hosts alive.
2016-11-10 09:25:41 +13:00
KorPhaeron
41c481d0c7 Destroy the syndicate base 2016-11-06 22:19:59 -06:00
oranges
8ebf0c0ea3 Merge pull request #21320 from Mervill/master
Late joining won't runtime if the emergency shuttle does not exist (dev QoL)
2016-11-03 10:00:17 +13:00