Commit Graph

11 Commits

Author SHA1 Message Date
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