Commit Graph

29 Commits

Author SHA1 Message Date
AffectedArc07 debcf5dad0 Replaces all "var " with "var/" 2020-07-29 10:06:00 +01:00
AffectedArc07 650c638d41 Removes semicolons 2020-07-11 18:51:45 +01:00
Crazy Lemon f555d49b9a Removes all usages of a certain word in a certain sense (#13277) 2020-04-09 13:43:10 -04:00
AffectedArc07 210f8badf4 Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors

* 3532 compile fixes later, got runtimes on startup

* Well the server loads now atleast

* Take 2

* Oops
2020-03-20 21:56:37 -06:00
AffectedArc07 04ba5c1cc9 File standardisation (#13131)
* Adds the check components

* Adds in trailing newlines

* Converts all CRLF to LF

* Post merge EOF

* Post merge line endings

* Final commit
2020-03-17 18:08:51 -04:00
Crazy Lemon fc1e84f042 Merge branch 'master' into make_paradise_great_again 2017-04-21 11:32:47 -07:00
monster860 7d0f5cb400 Fixes
- Makes it so that log_client_to_db is called before mob/Login()
- Makes it so can_vote() doesn't runtime if the player_age isn't a number
2017-04-04 18:50:24 -04:00
monster860 c044f0aa44 Player Polls Revamp 2017-02-25 18:54:06 -05:00
Markolie 6982014a6e Replace all BYOND text macros 2017-02-21 15:41:37 +01:00
Krausus d64bf46f12 Topic UID finishing touches 2016-09-08 13:07:14 -04:00
Krausus 92405288d2 UID mass replace: src=\ref[src] 2016-09-05 23:02:10 -04:00
Tigercat2000 71e5344a98 Mass replace 2016-07-07 19:34:02 -07:00
Tigercat2000 78f53553f8 Reduce lines by removing blank lines added by PJ's script 2016-04-05 08:25:57 -07:00
Tigercat2000 9d430844c3 Replace most (if not all) output << operators with to_chat(user, message)
Currently, to_chat is literally just a proc that does user << message.
But it'll let us do output modification in the future, especially for
something like Goon's HTML chat.

Big thanks to PJB for his to_chat script, see
https://github.com/d3athrow/vgstation13/pull/6625 for more details.
2016-04-05 08:15:05 -07:00
Markolie fdc3578582 Turn poll magic strings into defines 2015-10-05 19:25:05 +02:00
Markolie e95eb8f3b8 Let admins create server polls 2015-09-23 20:17:21 +02:00
Markolie 4b2dcf2394 Nuke the privacy poll 2015-09-23 04:31:28 +02:00
Markolie a397c730b5 Admin jump overhaul, add watchlist functionality, other admin updates 2015-08-16 23:28:02 +02:00
baloh.matevz 43ee6cf5d2 - Added the ability to have multiple choice player polls.
- Added two new verbs to 'debug verbs'. The first outputs everything in the jobban records list to standard output, the 2nd applies a filter and only prints the things that contain the word.
- Fixed an old jobban bug which only checked if someone's ckey ends with the bannee's ckey to jobban them from the job. So perrorage getting banned would result in errorage having the ban in effect too.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5338 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-16 03:29:06 +00:00
baloh.matevz abad9978b2 - Fixed the revision number not showing properly. Hopefully it's fixed for good this time, as it works off of logic, instead of line numbers.
- Standardized the database library code
- Deleted a few unused database related files (karma and forum activation), so they won't get in my way later. They work off of no longer existent database tables.
- Made it so the server maintains a constant connection with the database, which is established on world/New() and never broken, until the server ends. If 5 consecutive database connection attempts result in no connection getting established, the server will not attempt any more connections. Made all existing database connections use the global continuous connections. Currently we need two, as we have two databases, but the old database is going to get moved into the new one.
- Fixed the spaghetti-like report in the permissions panel, which happened when someone had many permissions enabled.
- Added database connection reports to display to dream daemon on server startup.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5015 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-06 17:21:13 +00:00
elly1989@rocketmail.com 4d9876fd65 Fixes issues with pen bbcode. Replacetext did not work correctly after I changed text2list - (It was missing 'needles' at the beginning of 'haystacks').
>dd_replacetext and dd_replacetext_case are now replacetext and replacetextEx respectively.
>replacetext and replacetextEx works using strings only; it doesn't convert it into a list and then back into a string.

Fixes some dumb-dumbs in textlist and text2listEx
> "<" where there should be a "<="
> no else case for when the separator is longer than the text (causing empty lists to be returned)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4971 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-27 21:21:17 +00:00
baloh.matevz 96b53e1189 - Added numeric value polls. These allow multiple options to be present in each poll, each option has a drop-down list that goes from a low value (-3 in screenshot) to a high value (3 in screenshot), both of these can be set per-option. Along with text descriptors for the lowest value option, middle option and highest value option (In the screenshot 'Worst', 'no change' and 'Best')
Example screenshot (if you ignore the poll text):
http://www.kamletos.si/numval%20polls.PNG

Also note that the screenshot above only has one option (or question). It can have an unlimited number.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4848 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-12 18:37:36 +00:00
baloh.matevz 2bf2f7bef8 - Updated ingame polling to allow for polls that ask for player-entered text. This allows for more complex answers than a pick from a list.
- Added simple bump teleporters.
- Updated 3.0.0 some more, including the draft of a new Centcom.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4826 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-07 21:08:23 +00:00
baloh.matevz 4b41009ee9 - Player polls are now displayed in a table with alternating row colors.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4215 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 10:57:07 +00:00
baloh.matevz 4931a1f992 - Used the wrong character in the insert statement for poll voting... yay...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4198 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 02:50:08 +00:00
baloh.matevz bee2c93441 - Chef and bartender now both have access to the bar area. Bartender has his shotgun and shaker spawn in his back room, which now has wooden floor and tables. Booze-o-mat is now bartender-access.
- Split the items in the engivend vending machine into the engivend machine, which retained the circuitboards, belts and got power cells; and the YouTool vending machine, which has tools and gloves and such.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4157 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 03:06:14 +00:00
baloh.matevz 97bb1fc04b - Made it possible to have admin-only in-game polls.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4156 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 22:44:53 +00:00
baloh.matevz 3a6fb1ba68 - Added a <br> to poll output, so questions are displayed each in it's own row.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4106 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-18 18:35:46 +00:00
baloh.matevz 0ea778056b - Finally added ingame player polling.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4056 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-13 00:33:50 +00:00