Commit Graph

37 Commits

Author SHA1 Message Date
Iamgoofball
6fa26584cf Ups the player and station name length limits (#20073)
* Ups the player and station name length limits

I think they could use a buff in length, as I've seen captains have pretty creative names get cut in half and the joke ruined, and the name limit is really fucking small like come on goddamn

* changes
2016-08-26 16:43:56 +12:00
oranges
d4769b4ee2 Safer input for the station charter (#18556)
Prevents html entities and sets a maximum length of 30
2016-06-16 23:51:10 +01:00
MrStonedOne
5160486e3f Removes 509 support. 2016-04-16 02:16:19 -07:00
Bjorn Neergaard
063dd9fb84 Get the code running on 510
* Travis for 510
* Remove json, list2text, text2list, bygex
* Change blind and click catcher to a low plane
2016-02-04 17:19:40 -06:00
Remie Richards
f4bb5fcf0e Min compiler version is now 509, Weapon hit indicators and Progress bars no longer colour/rotate/match the alpha of the atoms they are attached to. 2016-01-24 23:22:12 -06:00
duncathan
31d9757e98 the game compiles I swear 2016-01-13 20:41:57 -06:00
duncathan
d5086b27b4 fixes space superheating and air canisters not updating icons 2016-01-13 19:22:18 -06:00
duncathan
8392974ad0 fixes associative list; adds gas_overlay to "datum gases" 2015-12-29 22:50:09 -06:00
MrStonedOne
fb01e5ce71 Cleans up map rotation code, removes debugging code 2015-09-30 08:43:22 -07:00
MrStonedOne
fcc8402f31 map rotation base code 2015-09-30 07:13:38 -07:00
duncathan
bea187ef8d compiles the game properly 2015-09-04 22:21:58 -06:00
duncathan
381139422c Merge branch 'master' of https://github.com/tgstation/-tg-station into pipecleanup
Conflicts:
	_maps/map_files/MiniStation/MiniStation.dmm
	code/ATMOSPHERICS/atmospherics.dm
	code/ATMOSPHERICS/components/binary_devices/pump.dm
	code/ATMOSPHERICS/components/components_base.dm
	code/ATMOSPHERICS/components/unary_devices/cryo.dm
	code/ATMOSPHERICS/components/unary_devices/vent_pump.dm
	code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm
	code/ATMOSPHERICS/pipes/manifold.dm
	code/ATMOSPHERICS/pipes/manifold4w.dm
	code/ATMOSPHERICS/pipes/simple.dm
	code/_compile_options.dm
	code/controllers/subsystem/garbage.dm
	code/game/machinery/bots/mulebot.dm
	code/modules/mob/living/carbon/alien/say.dm
	code/modules/mob/living/simple_animal/bot_swarm/swarmer.dm
	html/changelogs/.all_changelog.yml
2015-09-01 20:29:00 -06:00
duncathan
b5d6e00cea makes atmos machinery return properly from destroy() 2015-08-30 23:18:03 -06:00
duncathan
f7363fc737 Squashed commit of the following:
commit 5ab47a85f7
Author: duncathan <dunc2403@dunc2403.com>
Date:   Sat Aug 29 03:29:23 2015 -0600

    disables TESTING; it should not be enabled by default

commit 2cc7226ea8
Author: duncathan <dunc2403@dunc2403.com>
Date:   Sat Aug 29 03:27:55 2015 -0600

    adds ways to check references while qdel'ing; removes redundant compile option

commit 4409db7f0b
Author: duncathan <dunc2403@dunc2403.com>
Date:   Sat Aug 29 00:19:25 2015 -0600

    makes the game compile if TESTING is defined in compile options

commit e11befbbfa
Merge: 22ffbca 20ba307
Author: Cheridan <derpheim@yahoo.com>
Date:   Fri Aug 28 07:20:03 2015 -0500

    Merge pull request #11356 from Aranclanos/listnull

    Fixes the brand intelligence event not triggering the uprising under …

commit 22ffbca5a2
Author: sybil-tgstation13 <sybil@tgstation13.org>
Date:   Fri Aug 28 05:43:08 2015 +0000

    Automatic changelog compile

commit d824f7b35f
Merge: 7f0f74f 3737234
Author: Cheridan <derpheim@yahoo.com>
Date:   Fri Aug 28 00:21:23 2015 -0500

    Merge pull request #11382 from Ergovisavi/bot_swarm

    Adds "Swarmers" - Simple mob side antagonist

commit 3737234b9c
Merge: 9572bd6 ba1a268
Author: Ergovisavi <rtothev@gmail.com>
Date:   Tue Aug 25 05:48:37 2015 -0700

    -Adds swarmer as a language, makes them only able to speak to each other
    -Fixes a few structures/machines taking non brute/burn damage from attack_animal
    -Adjusts girders to be a little less resistant to explosions
    -Span classes all the swarmer messages, bumps their health up to 40
    -Adds ability for swarmers to dismantle machines and disable cameras. Some are obviously protected.

commit 7f0f74f100
Merge: d8f8f89 6ab2443
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 23:53:58 2015 -0500

    Merge pull request #11380 from bgobandit/salicyclicassblastusa

    Fixes burn kits containing salicyclic acid pills. Adds new burn medication.

commit d8f8f89203
Merge: 68002be 460c2c2
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 23:46:57 2015 -0500

    Merge pull request #11386 from Aranclanos/rapiddupe

    Fixes the admin message not appearing under certain conditions when t…

commit 68002bed99
Merge: eebbed3 d27a736
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 16:50:33 2015 -0500

    Merge pull request #11315 from CorruptComputer/why

    Removes dmm2tgm from map merger

commit eebbed3a6b
Merge: 1769bc2 3749dca
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 12:10:40 2015 -0500

    Merge pull request #11405 from Aranclanos/floortilesfirst

    Floor re-organization step 1

commit 1769bc2f8d
Merge: d7eca4f 20023f7
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 12:06:28 2015 -0500

    Merge pull request #11104 from phil235/BuckleMulebot

    Mob buckled to mulebots

commit d7eca4f327
Merge: be6cc6a 90f54ba
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 01:00:01 2015 -0500

    Merge pull request #11340 from phil235/CoinFlipThrowFix

    Fixes the do_after progress bar appearing on a coin when flipping+throwing it

commit be6cc6adf9
Merge: 9c9bf4a d211992
Author: Cheridan <derpheim@yahoo.com>
Date:   Thu Aug 27 00:48:54 2015 -0500

    Merge pull request #11392 from phil235/SinguloCableNetRebuildFix

    An attempt to reduce singulo lag from power wires destruction. 2nd attempt.

commit 9c9bf4a858
Merge: 3278a39 6277a80
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Thu Aug 27 01:06:03 2015 -0300

    Merge pull request #11393 from Ergovisavi/has_wumbo_gone_too_far

    Fixes infinite wumbo-ing

commit 3278a3926b
Merge: 38e6a09 1f37141
Author: Cheridan <derpheim@yahoo.com>
Date:   Wed Aug 26 07:52:31 2015 -0500

    Merge pull request #11358 from phil235/XenoFeatures1

    Facehugger inhands, xeno tweaks, and monkey bugfixes

commit 3749dcacb3
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Wed Aug 26 06:47:27 2015 -0300

    Creates type paths for all types of floors in floor.dmi, first step for the floor organization.

commit 38e6a09cf9
Merge: 4f1a3df 9cfb246
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Wed Aug 26 06:27:31 2015 -0300

    Merge pull request #11351 from Core0verload/nodirt

    Removes dirt from walking on tiles

commit 6277a80cdb
Author: Ergovisavi <rtothev@gmail.com>
Date:   Tue Aug 25 14:02:48 2015 -0700

    -Fixes infinite wumbo-ing

commit d211992ddc
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Tue Aug 25 20:22:30 2015 +0200

    Make it so the code doesn't rebuild (propagate_network()) the wire network X times when singulo/explosion destroys a line of X cables at once.

commit 6ab2443255
Author: bgobandit <bandit@mailinator.com>
Date:   Tue Aug 25 13:46:05 2015 -0400

    Adds oxandrolone, a new burn medication designed to work upon ingestion. Adds oxandrolone to burn kits. Adds changelog.

commit 9572bd6aa6
Author: Ergovisavi <rtothev@gmail.com>
Date:   Tue Aug 25 03:24:34 2015 -0700

    -First revision of Swarmer mob, hud, icons, etc
    -Adds functionality of ignored damage types to simple mobs
    -Adds functionality of melee damage types to simple mobs

commit 460c2c290c
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Tue Aug 25 05:31:02 2015 -0300

    Fixes the admin message not appearing under certain conditions when the rapid dupe experimentator relic is used.
    All objects from said relic will spawn at the same time now.

commit 2c56462e97
Author: bgobandit <bandit@mailinator.com>
Date:   Mon Aug 24 22:45:37 2015 -0400

    I sure do love me some copypasta

commit 132adf3f00
Author: bgobandit <bandit@mailinator.com>
Date:   Mon Aug 24 21:45:18 2015 -0400

    adds silver sulf syringes instead of kelotane pills

commit ce8722b868
Author: bgobandit <bandit@mailinator.com>
Date:   Mon Aug 24 21:36:50 2015 -0400

    Fixes burn kits containing salicyclic acid pills.

commit 1f37141b8b
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Mon Aug 24 22:53:45 2015 +0200

    Alien humanoids and monkeys can now use "me".
    Alien hivemind chat now uses <span class='alien'> (dark purple). Also the alien queen name now appears bigger in the hivemind chat.

commit 5cecd7e9fe
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Mon Aug 24 19:54:51 2015 +0200

    Simplifies plasmavessel/on_life() a bit, and make xeno on weeds also heal clone damage.

commit cb1cd5b1e7
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Mon Aug 24 17:07:09 2015 +0200

    Monkey and aliens now all use carbon/examine().
    Fixes monkeys being able to strip and uncuff people while handcuffed themselves.
    Add an inhand sprite for facehuggers (taken from Xhuis) (but they don't appear for large queens, it'd look ugly).
    Xenos now regenerate plasma on alien weed even when injured but at half the normal rate.
    Moved queen/large/update_icons() to humanoid/update_icons.dm

commit 20ba3071ed
Author: Aranclanos <aranclanos@hotmail.com>
Date:   Mon Aug 24 07:52:54 2015 -0300

    Fixes the brand intelligence event not triggering the uprising under certain conditions.
    Adds a new proc for the list helpers, removeNullsFromList() It does what it says.

commit 9cfb246e4f
Author: c0 <Core0verload@users.noreply.github.com>
Date:   Mon Aug 24 11:33:52 2015 +0300

    Removes dirt from walking on tiles

commit 20023f79d7
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sun Aug 23 21:39:22 2015 +0200

    Mobs buckled to mulebots now pass through plastic flaps.
    All ventcrawler and tiny sized mobs also pass through them now.

commit 27b7e3b6f6
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sun Aug 23 20:55:41 2015 +0200

    Beds no longer use this trick in Move() so neither should the mulebot.

commit 90f54ba95c
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sun Aug 23 19:34:09 2015 +0200

    Fixes the do_after progress bar appearing on a coin when flipping+throwing it.

commit d27a736f7e
Author: CorruptComputer <NGupton98@gmail.com>
Date:   Fri Aug 21 16:57:27 2015 -0500

    Fixes #11301

commit e16c03f010
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sat Aug 8 22:10:25 2015 +0200

    woops, now buckling succeeds if you are on the mulebot's turf.

commit 1c51550559
Author: phil235 <antoine_hernandez62@hotmail.fr>
Date:   Sat Aug 8 21:43:30 2015 +0200

    Changes how mulebots handle loading mobs. It now buckles them to the bot.

    You can no longer load objects containing mobs or with mobs buckled to them.

    You can no longer pass through plastic flaps by getting on a mulebot.

    Some simplification in mulebot code (buzzing sound code)

    Loading is now instantaneous and the mode BOT_LOADING is removed.

    The mulebot can no longer do certain stuff while off.

    Removing unneeded comments.

    Fixes mulebot loading/unloading being possible through border windows.

    Fixes mulebot not dropping its loaded cargo when qdel'd (wasn't a problem for explosion but for alien acid for example)
2015-08-29 13:19:15 -06:00
duncathan
5ab47a85f7 disables TESTING; it should not be enabled by default 2015-08-29 03:29:23 -06:00
duncathan
2cc7226ea8 adds ways to check references while qdel'ing; removes redundant compile option 2015-08-29 03:27:55 -06:00
Swag McYolosteinen
b9b4f7398c apparently using a beta build for the code to compile in the first place is a good idea vOv 2015-07-27 11:35:49 +02:00
Miauw
946a64ce48 Makes the compiletime warning use a #define as it should.
Also makes the minimum required version actually the minimum required version and not a beta build.
2015-07-25 19:40:18 +02:00
MrPerson
619eb89a40 Add a compile time warning for out of date byond versions
Of course none of you idiots are going to upkeep this shit so I'm not sure why I even bother

Also fixes the stuff pointed out by Miauw
2015-07-24 06:39:12 -07:00
xxalpha
df445bcbcf Buffs airlock crushing.
Removed airlock crush knock out.

Reduced crush damage to 15.
2015-04-11 11:41:15 +01:00
carnie
a029a49392 SubSystem rewrite
Misc:

+Fixes unreported issue with initializing lighting on a specific zlevel

+Fixes two similar issues with moveElement and moveRange. Where fromIndex or toIndex could be adjusted incorrectly in certain conditions. Potentially causing bad-sorts, or out of bound errors.

+Rewrites listclearnulls(list/L) to no longer iterate through L.len elements for every null in the list (plus 1). i.e. went from L.len*(number_of_nulls+1) list-element reads (best-case), to L.len list-element reads (worst-case)

+New proc/getElementByVar(list/L, varname, value) which finds the first datum in a list, with a variable named varname, which equals value. You can also feed it atoms instead of lists due to the way the in operator functions.

+Fixes an unreported issue with Yota's list2text rewrite. Under certain conditions, the first element would not be converted into a string. Causing type-mismatch runtimes.

+New global map_ready variable. This is not fully implemented yet, but will be used to avoid duplicate calls to initialize() for map objects.

+All turfs now maintain references to all lights currently illuminating them. This will mean higher memory use unfortunately, due to the huge number of turfs. However, it will speed up updateAffectingLights significantly. I've used list husbandry to reduce baseline memory usage, so it shouldn't be any worse than some past atmos modifications memory-wise.

-Removed 'quadratic lighting', can add this back at some point. Sorry.

+modified the way lum() works slightly, to allow turfs to have overridden delta-lumen. i.e. space cannot be illuminated more than its default ambiance. This allowed removal of some iffy special-snowflake lighting areas implemented by somebody else.

+Lighting images in the dmi can now use arbitrary naming schemes. It is reliant on order now. This allows the dmi to be replaced by simply dropping in a new dmi.

-Removed all subtypes of /area/shuttle. Shuttles now create duplicate 'rooms' of /area/shuttle. (More on this later). This will conflict with most maps. Guide on how to fix to follow.

+All verbs/tools relating to world.tick_lag were refactored to use world.fps. However old config text for setting tick_lag will still work (it converts the value to fps for you)

+MC stats improved using smoothing. They now have their own tab so they dont get in the way when you're playing as an admin.

-removed the push_mob_back stuff due to conflicting changes. Sorry Giacom.

_OK, NOW THE ACTUAL INTERESTING STUFF_

Following systems moved over to subsystem datums:
air_master
garbage_manager
lighting_controller
process_mobs (aka Life())
nanomanager
power
sun
pipenets
AFK kick loops
shuttle_controller (aka emergency shuttle/pods), supply_shuttle and other shuttles
voting
bots
radio
diseases
events
jobs
objects
ticker

Subsystems hooks and variables should be commented fairly in-depth. If anything isn't particularly clear, please make an issue.

Many system-specific global variables have been refactored into

All tickers which previously used world.timeofday now use world.time

some subsystems can iterate before round start. this resolves the issue with votes not working pregame
2014-12-31 13:25:41 +00:00
carnie
6529e7b302 Interface for using boost::regex in byond.
Regex is a robust text-parsing mini-language. It can perform complex and dynamic searches and return the results in an easy to read format. This implementation also uses Boost's extended formatting syntax which gives you a flexible way to conditionally replace complex strings with only a few lines of code

Source code and license info can be found here: http://code.google.com/p/byond-regex/
Licensed under LGPL.

This uses the perl regex syntax (with some extensions) in non-recursive mode (as recursion has additional overheads).

Information on this syntax can be found here: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html

There are many introductions to regex on the internet. Here is the one I learned from: http://www.regular-expressions.info/tutorial.html

Note: I have added #define USE_BYGEX in code/_compile_options.dm. Simply comment out the define if you encounter any problems.

Due to byond being unable to communicate with a dll through anything but C-strings, the results are returned to byond in a string similar to those you get with list2params. Since byond uses parameters a lot, its params2list() proc is fairly streamlined, so it's pretty much the fastest way you could do this with byond. This data is then stored in a datum/regex object for easy use. See demo.dm datum/regex/proc/report() for an example.
2014-11-13 05:55:58 +00:00
Lo6a4evskiy
5fb3f9ac9c Edited comment and added delay to roman armor 2014-10-06 22:07:11 +04:00
Lo6a4evskiy
61937c8dae Changed strip delays for most clothes 2014-10-06 19:42:12 +04:00
MrPerson
f035c9be5d Per Aran's request, re-add dellogging 2014-06-16 11:21:42 -07:00
MrPerson
44638fd05c Add logging to failed GC's that result in a del() call
You can view these logs in-game using a debug verb. You have to use the debug-verbs command to see it.

Removed the dellogging compile option. If this is a problem, speak up, but for most users, this new functionality is more useful.
2014-06-13 11:46:17 -07:00
hornygranny
c31647376e This is for discussion of things that need to be changed to move away from purely stun based combat. Please only comment if you have something to contribute, rather than just saying you like or dislike it.
Shoes do not increase your movement speed
Stun/weaken on basically everything reduced from 10+ to 5 ticks
Time to unbuckle/uncuff self halved
2014-02-27 10:56:06 -08:00
Giacomand
f1e7637bab Disabled the game using set background by making all instances of it use a define, which can be changed in code/_compile_options.dm
Testing has revealed that it reduces the sluggishness of the game, though it will spike from lag when the singularity is loose. Thanks to ChuckTheSheep for suggesting it.

Server owners who want to keep set background enabled can do so by changing the define.
2014-01-10 18:32:28 +00:00
Giacomand
f44faba532 Added a voice announcement system for the AI.
Voices are based on /vg/'s female voice and are copyright free.
There is a 60 second cooldown for each announcement.
Added a compile option for AI voices. Undefining AI_VOX will not compile the resources, meaning players won't have to download them.
2013-10-26 17:56:39 +01:00
supersayu
711654c15e Moved #defines
Moves the constants from defines and compile_options files into the __DEFINES directory.  The compile options in the latter file that are actually tweakable remain in their existing file in the code directory.
Constants from DEFINES.dm, globals.dm, names.dm, and global_lists.dm have been moved into the _globalvars subdirectory.
stylesheet.dm has been moved into the interface directory since that's a better place for it.

This move contains no code changes for stock TG.  It is purely an organizational move meant to clean up hard to read code.
Some global constants that appear to be unused have been put into unused.dm, but not unticked.  This list is by no means exhaustive.

Branches should be aware that they need to move any additional defines and global constants manually.
2013-10-23 16:11:45 -04:00
Giacomand
646d7596f2 * Made the emergency shuttle code use the defined times.
* Added a SHUTTLEAUTOCALLTIMER define for the auto call.
2013-10-16 08:30:25 +01:00
carnie
26957f5357 Remote resources support.
There is now a PRELOAD_RSC define in code/_compile_options.dm. Setting it to 0 will allow you to use on-the-fly rsc downloads, or the new remote rsc features.

Normally (PRELOAD_RSC == 1) the game will send you all the resources for the game that existed at compile time, this is the long-delay before joining the game...but it means that the game isn't sluggish later on due to trying to download icons and such. Which is good, but uses a lot of bandwidth.

On-the-fly behaviour (PRELOAD_RSC == 0) is when the game only downloads icons when you see something for the first time...this is often responsible for things being briefly invisible on slow connections.

Remote RSC behaviour (PRELOAD_RSC == 0 and some urls defined in config/external_rsc_urls.txt), is a mixture of the two above behaviours. It allows you to connect without downloading lots of resources immediately. However, once you connect it will select a url from a list of urls which hold zipped up copies of the tgstation.rsc. This allows the load of downloading those large files to be distributed across a few cheap web-servers or free upload sites...whilst the main game-server is freed up for other stuff. Should preloading from a remote url fail, behavior will revert to on-the-fly.
2013-06-25 07:44:57 +01:00
Pete Goodfellow
62b848c6ce Removes equip_e - Fixes #423
This updates everything that used equip_e, particularly the strip panel, but also DNA injectors and CPR.

Removed unused mob vars:
 var/obj/effect/organstructure/organStructure
 var/other
 var/proc_holder_list[]

Removed unused alien suit and head slots.
 Removed var/obj/item/weapon/card/id/wear_id from monkeys, and updated ed209s to not use :

Renamed HUMAN_STRIP_DELAY to STRIP_DELAY.

Muddled Topics() around so that mobs are now a bit more OO. Also updated quite a few misc inventory procs to various degrees.

Updated monkey and aliens huds a little bit.

Random movement when confused now happens half the time.

Fixed monkey breathmask onmobs.

Added a .unconscious text style, for that nice bold blue text you get when you're unconscious. Only CPR uses it at the moment.

This has been tested fairly extensively, and everything seems to work fine.

-Merged commits ~carnie
Signed-off-by: carnie <elly1989@rocketmail.com>
2013-04-24 04:07:39 +01:00
Malkevin
346aae0160 comment change for mr pedantic 2013-04-17 00:30:43 +01:00
Malkevin
71aac937cb Gives fire suits a bit of extra cold protection over normal armor.
I set it to 60, so you can't use fire suits like the ghetto space suits of old (which would be impossible to emulate now, back then coldness did only negligible damage) but it is enough for atmostechs to clean up a medbay cryo leak, and they will protect you long enough for the ballsy atmos tech to plug a hullbreach, or gives an unlucky engineer about a minute thirty to wire a solar array.
2013-04-11 23:19:03 +01:00
Pete Goodfellow
b02c459505 Adding google code commits r5836 to r5849. RIP in peace google code. 2013-03-11 04:26:54 +00:00
elly1989@rocketmail.com
0fbd92f5c3 Shuffled all the #defines in global.dm and setup.dm
They have been separated into low-level stuff that you wouldn't really want to ever edit (like the definition of PI) which are in __DEFINES.dm
The others, which hosts could possibly want to modify for their server, are located in _compile_options.dm

I've tried to group it together in some sort of logical way so it's easier to find what you need. Feel free to move whatever.

Main reason for the change is so we can add some more compile options into the game to make it more configurable.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5825 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-08 19:02:19 +00:00