Commit Graph

11452 Commits

Author SHA1 Message Date
Chinsky
791b1c0bda Merge branch 'bygex' of https://github.com/Carn/Baystation12 into bygex
Conflicts:
	baystation12.int
2013-11-22 00:52:47 +04:00
ZekeSulastin
8c28460550 Cloning scanner saves languages in records. 2013-11-21 15:10:03 -05:00
carnie
a9bea16ac8 Bygex - Regex implementation for byond.
Source-code for the dll can be found here under LGPL license:
https://github.com/Carn/bygex
It is merely an interface to boost::regex. It uses perl syntax (non-recursive).

Guidelines for use:
var/datum/regex/Rgx = regex_findall(haystack, regex_expression)
for(var/i=1, i<=Rgx.matches.len, ++i)
    world << Rgx.str(i)

The implementation is different to the one other regex-in-byond library I found. This implementation only returns a string containing the position and length of each match and submatch. This uses far less memory than also passing back the matched strings (especially in large files like dream-maker maps).

Note: Regex indexes begin at 1 (since byond lists begin at 1), unlike traditional regex. If we are using a procedure such as regex_findall(), with 3 sub-expressions, match 1 will be the overall match. Match 2 will be subexpression 1, match 3 will be subexpression 2.... Match 5 will be the overall match of the next match...and so on. To ease use, there is /datum/regex/var/anchors which is a numerical value which can be used inside loops like so:

for(var/i=1, i<=Rgx.matches.len, i+=Rgx.anchors)
    world << Rgx.str(i+1)
This will print the first submatch of each match to world.
2013-11-21 18:54:01 +00:00
Jim "Apples"
f1ce28b7fe Merge pull request #3951 from Ccomp5950/custom_item_creation
Custom Item Request
2013-11-21 07:23:39 -08:00
Ccomp5950
69dbec4920 Custom Item Request
Confirmed with Apple that this was acceptable.
2013-11-21 09:08:30 -06:00
Chinsky
65a9bf6e4b Merge pull request #3930 from Higgin/dev
Changes to how projectiles work: take two!
2013-11-21 02:23:46 -08:00
Chinsky
c50c401a85 Walking on tile makes it dirty. Takes 40 times for mob to enter tile for dirt overlay to appear.
Mopping resets dirtiness level.
2013-11-21 13:46:16 +04:00
Chinsky
48150acc5a Removed earrape 2013-11-21 12:21:50 +04:00
Iamgoofball
43bde0598d Uncommented the dressing up corgi code! Have fun replacing the condom! Also adds a player requested item.
http://baystation12.net/forums/viewtopic.php?f=33&t=9120 Rainbow Belt
2013-11-20 18:10:14 -08:00
Higgin
d72d845cba Fix to fix a fix that needs fixing. 2013-11-20 16:00:07 -08:00
Ccomp5950
7d545437a3 Spelling mistake.
Commit_Count++
2013-11-20 17:49:11 -06:00
Iamgoofball
ac4e42bb2a After a very prolonged set of Syndicate budget cuts, Detomatix PDA carts are no longer buildable 2013-11-20 15:29:33 -08:00
Ccomp5950
d1ca50f384 Bugfix: Yeah variables are case sensitive.
Lesson learned:  Always compile before commit, unless attempting to pad your commit count.
2013-11-20 17:24:39 -06:00
Iamgoofball
7dcb47ec2a R.I.P H.O.N.KBlaster 9000. You died as you lived. Hidden in a crate. 2013-11-20 15:19:24 -08:00
Ccomp5950
34fb26a649 Ravensdale request:
Detomax cartridge use will not create an admin message saying the name/key of the antag that tried to blow up the target, and if it was successful or not.
2013-11-20 17:11:21 -06:00
Iamgoofball
b024087119 Merge branch 'smallchanges' of https://github.com/Iamgoofball/Baystation12 into smallchanges
Conflicts:
	code/modules/research/designs.dm
2013-11-20 15:00:36 -08:00
Iamgoofball
e36f0c3fac Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into smallchanges
Conflicts:
	code/modules/research/designs.dm
2013-11-20 14:59:33 -08:00
Iamgoofball
7fa80e799a made head PDA carts be in lockboxes. Added Abandoned Crates! 2013-11-20 14:57:22 -08:00
Iamgoofball
ab43cc9cd6 made head PDA carts be in lockboxes. Added Abandoned Crates! 2013-11-20 14:56:49 -08:00
ZekeSulastin
2a95cdd296 Scalpels also mangle gloves for nonhuman wear. 2013-11-20 17:07:05 -05:00
Chinsky
60f644c401 Merge pull request #3941 from Iamgoofball/telesci
Changes Telescience to Projectile Trajectory!
2013-11-20 10:32:41 -08:00
Chinsky
4beabc587d Merge pull request #3940 from Ccomp5950/ghost_buff
AntagHUD's player verbs will now disappear from the players view if disabled by admin or by configuration options.
2013-11-20 10:32:18 -08:00
Chinsky
48c35d0f8f Merge pull request #3938 from Ccomp5950/master
Admin request:  Jobbans for IA and ERT
2013-11-20 10:27:36 -08:00
Zuhayr
222a544d5d Raider state display compile fix. 2013-11-20 18:47:37 +10:30
Zuhayr
71416e543e Changed diona evolution to use nutrition rather than nutriment. 2013-11-20 18:33:39 +10:30
Zuhayr
249cd0d069 Increased REQUIRE_LIGHT min level to 5, removed burn damage from healing from RAD_ABSORB. 2013-11-20 18:32:00 +10:30
Zuhayr
32b2009c25 Diona will take five times as much damage from plant-B-gone as previously. 2013-11-20 18:26:55 +10:30
Zuhayr
542104478f Commented out the Sec-healing component of sprinkles. 2013-11-20 18:18:55 +10:30
Zuhayr
9015b815b3 Uncommented the original Heist objective code, removed one-of-each testing code. 2013-11-20 18:18:38 +10:30
Zuhayr
d1e6094a77 Merge branch 'master' of https://github.com/Baystation12/Baystation12 into dev-freeze 2013-11-20 17:50:01 +10:30
Iamgoofball
2be70afe8b changed it so that only syndi-hardsuits only restrict vox 2013-11-19 23:12:41 -08:00
Iamgoofball
06719b5aa9 added a fuck ton of small changes 2013-11-19 23:00:07 -08:00
Iamgoofball
c13f57613c Changes Telescience to Projectile Trajectory! 2013-11-19 19:23:51 -08:00
Ccomp5950
46218e71f1 Bugfix: AntagHUD, need to remove verbs from correct object 2013-11-19 05:59:28 -06:00
Ccomp5950
7be20c0986 AntagHUD's player verbs will now disappear from the players view if disabled by admin or by configuration options.
Poor guys won't know what they are missing!

Admins/Mods will still have the verb viewable.
2013-11-19 05:36:40 -06:00
Ccomp5950
513953b927 Cleanup: Removed unneeded variables and a debug variable. 2013-11-19 01:10:59 -06:00
Ccomp5950
39ed2b7042 Fixed the bug with supply not sending supermatter if only one crate (it was deleting it instead of deleting the process...odd)
Also fixed a bug where if the supermatter is ordered off the supply shuttle it wouldn't produce power (process was deleted while in crate)

supplypacks.dm is just a spelling fix.
2013-11-19 00:49:55 -06:00
Ccomp5950
fc4107e6ec TAB2SPACE of file.
No changes in this commit besides standardizing indentions.
2013-11-19 00:46:27 -06:00
Ccomp5950
457835db38 Admin request: Jobbans for IA and ERT 2013-11-17 18:16:42 -06:00
jack-fractal
cf5012ce1d Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev 2013-11-17 16:30:42 -05:00
jack-fractal
923a969eaf - removing unnecessary planning document 2013-11-17 16:25:20 -05:00
jack-fractal
c6ec432904 - major update to all systems
- creating the mask entity
- modifying the code for cult icons
- updating the camera net
- adding visibility network updates to all mobs
- unifying the culting and deculting process
- adding "Make Mask" function to Player Panel
2013-11-17 16:23:36 -05:00
Nanai
c977a40b3f Adjusted areas for medbay(Surgery, Patient rooms, genetics cloning, breakroom, psych office) so their APCs work.
Adjusted areas for engineering storage to actually function.
2013-11-17 16:19:13 -05:00
Nanai
808653ed12 Map Fixes IV: Areas Rising
Removed the odd locker room area.

Properly edited dorm areas to individual areas UNDER the sleep area so as to properly reap the benefits of being a dorm.

Added a camera to security dorms.

SMES wiring adjustment.
2013-11-17 15:50:55 -05:00
DJSnapshot
9936a9251f Helps to add the actual new file. 2013-11-17 11:55:57 -08:00
DJSnapshot
b75380985e Using a better method to handle autotransfers. Old method was silly. 2013-11-17 11:54:43 -08:00
Ccomp5950
340532dc55 String fix on adminverb
Added holder checks so admins can use antagHUD regardless of restrictions.
2013-11-17 13:16:55 -06:00
Ccomp5950
59bb2357b6 Included JobBan menu and systems for AntagHUD 2013-11-17 17:29:30 +00:00
Ccomp5950
a56103c151 Added Adminverbs for turning off and on the various items needed.
Also added the proc get_ghosts() with 2 versions of output, it defaults to returning a mob list but can be set to return a list for use with an input window.
2013-11-17 17:29:30 +00:00
Ccomp5950
dbf24606bd The Ghost AntagHUD Feature.
Created configurations for Server Admins to be able to toggle it within default config.

Modified my previous AdminVerb that allows respawns to bypass the limitations of the restrictions while also letting the admins know if the ghost has used AntagHUD

Created restriction checks for various forms of joining the round and if administrators/hosts have restricted AntagHUD users from joining the round they will not be able to.

To Do:
Create Adminverb for toggling restrictions to also be able to toggle everyones ability to use antagHUD for a round.
Create a method for "Job Banning" users from using antagHUD.
2013-11-17 17:29:29 +00:00