Commit Graph

615 Commits

Author SHA1 Message Date
Rob Nelson 3121e4fb2d DNA2 Bug Fixes - Part 2
We discovered that most of the problems were were having was because of BYOND passing lists (e.g. SE and UI) by-ref instead of the assumed by-val.

This commit adds dna.Clone() and (UI|SE).Copy() where needed.  These should be used where DNA or SE/UI lists are COPIED, otherwise changes made in the reference will affect the real strand.

This change also messes with the gene activation logic.
2014-02-06 23:07:35 -08:00
Zuhayr c0b91504b4 Recommitting a ton of files as one commit due to needing to reset this repo to an earlier point in the log. Full changes in PR. 2014-01-28 15:59:50 +10:30
Zuhayr 9d7b42f6b6 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2014-01-27 20:55:42 +10:30
Ccomp5950 a3befe9936 Private message fixes. Stealth-mode / admin != maroon
Stealth-Mode Admins won't have their keys show up in the title of private messages anymore (unless the person sending the message is mod+)

Admins PM's to players will show up as red again.  You are welcome Virgie!
2014-01-25 22:16:58 -06:00
DJSnapshot 4219b597b6 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev
Conflicts:
	code/modules/customitems/item_defines.dm
2014-01-10 13:52:07 -08:00
DJSnapshot 46c6145cf7 Made it so asay is not the same color as adminlogs. 2014-01-10 13:39:40 -08:00
Mloc 794be2b31e Fix previous commit for BS12.
Signed-off-by: Mloc <colmohici@gmail.com>
2014-01-08 11:49:15 +00:00
YotaXP 68ae21fac3 Optimized and refactored list2text, text2list, and replacetext.
Also fixed some grammar in the station blueprint code.

Conflicts:
	code/game/objects/items/blueprints.dm
	code/game/objects/items/devices/uplinks.dm
	code/modules/admin/verbs/debug.dm
	code/modules/clothing/masks/gasmask.dm
	code/modules/detectivework/scanner.dm
	code/modules/flufftext/TextFilters.dm
	code/modules/mob/living/carbon/human/say.dm
	code/modules/mob/living/silicon/ai/say.dm
2014-01-08 11:41:51 +00:00
Zuhayr edabf18323 Merge pull request #4012 from N3X15/dna2
DNA2 - A recode of DNA
2013-12-05 02:39:55 -08:00
Kilakk 13abdf9fdc Moved the CentComm channels onto their own tcomm network thing
* 144.1 and 144.3 are accessible through regular headsets, silly people were using them to listen in on response teams
* Moved the ERT and Deathsquid channels to 134.5 and 134.1 respectively
* Created presets for a tcomms setup on the CentComm zlevel
2013-12-01 18:58:16 -05:00
Rob Nelson 53c2aff420 DNA2 - A recode of DNA
DNA now stores blocks internally as numbers and only makes the uni_identity and struc_enzymes strings when something has changed. This is vastly more efficient.

In addition, the API for using it has been simplified. Common tasks, such as setting a sub-block, or getting a value from the block, are handled entirely by the DNA datum with simple, easy-to-use procs.

Tested on local server, but may need balancing and additional look-over since the code is from our server (/vg/) and I likely broke or forgot something.
2013-12-01 00:04:27 -08:00
Mloc d8683f2d39 Revert "Merge pull request #3965 from jack-fractal/dev"
This reverts commit fa57b76f25, reversing
changes made to 40ee2278ed.

Signed-off-by: Mloc <colmohici@gmail.com>
2013-11-25 11:59:57 +00:00
jack-fractal 5df2797b86 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev
Conflicts:
	baystation12.int
2013-11-22 20:30:23 -05: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
jack-fractal cf5012ce1d Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev 2013-11-17 16:30:42 -05: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
Ccomp5950 1a3a599087 Created a proc that sets the ghosts timeofdeath to a time 30 minutes before round start, this does not effect the ghosts original body, just the ghost mobs.
Since ghosts may not respawn within 30 minutes of death this allows mods/admins to bypass it for ghosts and sends the player a message letting them know they can respawn now
as well as reminding them to roleplay correctly.

Before this admins were editing the variable directly.
2013-11-14 13:26:12 -06:00
Mloc-Argent 8005d8bf2b More power to devs. (this is a bad idea)
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-11-04 21:31:29 +00:00
Mloc-Argent 4ef079aba3 SDQL and SQDL 2 from Lunacode.
SQL syntax things for datums. 'UPDATE /obj IN world SET color = "pink"'

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-11-04 16:16:53 +00:00
jack-fractal 6764c54989 making a generic version of the AI's visibility code so that it can be reused by the Cult Spirits 2013-10-26 16:52:14 -04:00
Segrain c8fcabc181 Smallfix. 2013-10-24 19:11:04 +03:00
Segrain 4d79764478 Vox wallets. 2013-10-21 05:13:09 +03:00
Segrain 121b10b16c Conflict fix. 2013-10-21 04:37:28 +03:00
Segrain cad425f2ca Roundend declaration. 2013-10-17 04:07:29 +03:00
Segrain 6184ad729f Cardfix. 2013-10-17 04:01:46 +03:00
Chinsky d85940ff3b Merge pull request #3775 from DJSnapshot/adminfeatures
expanded mod powers
2013-10-15 00:24:39 -07:00
DJSnapshot c7821741c2 Expanded mod powers to include temporary job bans, temporary global bans, muting, and subtle messaging. 2013-10-14 23:48:26 -07:00
Mloc-Argent a1f55a50b1 Massive click code rework by SuperSayu, ported from TG.
Full details at https://github.com/tgstation/-tg-station/pull/1206
Fixes #3648

Hopefully done right this time.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-10-08 20:27:39 +01:00
SkyMarshal f76f5ae532 First pass on experimental change that allows zones to "Sleep" 2013-09-11 11:43:42 -07:00
Zuhayr c7942b7eaf Merge pull request #3651 from SkyMarshal/airfixes
ZAS update, needs testing.
2013-09-07 05:46:04 -07:00
SkyMarshal 7d0c1f047a There we go, rebuilding works right now. Also has a slightly bugged verb that demonstrates how the rebuilding works, but you need to somehow prevent a zone from updating for it to show more than one "id" 2013-09-06 21:03:46 -07:00
Zuhayr b0d7a95189 Merge pull request #3644 from DJSnapshot/master
Gave mods dsay command and unique dsay identifier
2013-09-03 22:46:39 -07:00
SkyMarshal e8f9d19c75 Completed ZAS rework. Needs testing, and consideration to make zones sleep. 2013-09-03 20:25:03 -07:00
DJSnapshot 2c41ad1429 Gave Mods dsay command and unique dsay identifier 2013-09-03 14:10:21 -07:00
Erthilo 3b61ba850f Merge branch 'master' of git://github.com/Baystation12/Baystation12 into dev
Conflicts:
	baystation12.dme
	code/modules/projectiles/ammunition/bullets.dm
2013-09-02 23:32:33 +01:00
Mloc-Argent a084f74c7d Expansion of every "icon = ''" path.
Supposed to help compilation times.  Who knows.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-09-01 21:53:36 +01:00
Mloc 4d928843b1 Merge pull request #3609 from Zuhayr/dev
Stuff from dev-freeze.
2013-08-28 10:40:58 -07:00
Erthilo 5437b1bbac Added two ears back. 2013-08-27 22:05:27 +01:00
Erthilo 1fd0522276 Gives Internal Affairs PDA a Message Centcomm option. Shortens Centcomm message time as it wasn't really being abused. Formats Centcomm messages better. 2013-08-27 14:24:12 +01:00
Zuhayr 799c2fc94c Made Vox uncloneable. 2013-08-27 00:12:48 -07:00
Zuhayr 839546d173 Added new armour to raider generation proc. 2013-08-19 19:05:32 -07:00
Mloc-Argent 71bdaa1698 Fully reverts clickdelay change.
It was immensely buggy with certain mobs, and server lag all but negated the benefits.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-08-13 13:10:09 +01:00
Segrain 950029dc4a Moving box out of wrong slot. 2013-08-09 07:08:10 +03:00
Zuhayr b5d89b8929 Generalizes whitelist/species lists for datacore/preferences/new player code. Removes vox whitelist check from raid spawn. 2013-08-07 01:16:38 -07:00
Zuhayr 98bbb095ad Swapped languages and datums over to global lists. Updated verbs. 2013-08-05 20:34:38 -07:00
Zuhayr b875ff021b Vast array of changes to replace mutantrace with species datum 2013-08-03 15:08:54 -07:00
Zuhayr f50256eabb Work progresses on species datums. Mass-commit due to repo issues requiring a reset. 2013-07-31 11:50:56 -07:00