Posts: 133
Threads: 27
Likes Received: 72 in 32 posts
Likes Given: 9
Joined: Sep 2011
Reputation:
23
07-23-2019, 04:07 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community . Edited 1 time in total.
Edit Reason: Fixed Encoding
)
Title of Suggestion: /card command to draw a random card
Description
A very simple system where the player can type /card and it draws a random card with a suit. For example **NoidZ draws an Ace of Spades**
Why?
With the new rule in place that games have to remain in-game to be wholesomely monitored for legitimacy and safety purposes, I feel it would be exceptional to implement a very simple command similar to the dice command to draw a random card with a suit to open up more possibilities and to enhance the current state of card game RP.
This is a good step up to improving what we currently have available. This will not only benefit Blackjack but it supports any card game.
Posts: 2,097
Threads: 176
Likes Received: 2,007 in 736 posts
Likes Given: 954
Joined: Aug 2014
Reputation:
59
07-23-2019, 04:11 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community . Edited 2 times in total.
Edit Reason: Fixed Encoding
)
Big +Support
Really easy to do too, something like this?
Spoiler :
Code:
-- Command to print a random playing card
cityrp.command.add("card", "b", 0, function(ply)
local suits = {"Spades", "Clubs", "Hearts", "Diamonds"}
local value = {"Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"}
local card = table.Random(value) .. "of " .. table.Random(suits)
-- output to players
end, "Commands", "<none>", "Picks a random card")
(basing it off Snowred's comment on
https://www.fearlessrp.net/showthread.ph...light=code )
Check second post, bit better done with /deck command for 1-6 decks.
Regards,
C o n n n n n n n n
Consider giving me a rep point
here .
Posts: 1,003
Threads: 45
Likes Received: 552 in 359 posts
Likes Given: 1,275
Joined: Mar 2016
Reputation:
40
Country:
07-23-2019, 04:13 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
It's this just /dice though?
R y a n n n n n n
Fearless Full-Time Roleplayer
Posts: 2,097
Threads: 176
Likes Received: 2,007 in 736 posts
Likes Given: 954
Joined: Aug 2014
Reputation:
59
07-23-2019, 04:17 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
(07-23-2019, 04:13 PM) Ryan Wrote: It's this just /dice though?
No, dice shows a number.
This would display something like **The card is the Ace of Hearts**
Quite different as there is the possibility to show the character values (Ace, Jack, Queen, King) and also the suits.
Regards,
C o n n n n n n n n
Consider giving me a rep point
here .
Posts: 3,405
Threads: 154
Likes Received: 1,666 in 927 posts
Likes Given: 2,793
Joined: Oct 2015
Reputation:
91
Country:
07-23-2019, 05:05 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
+Support
Posts: 5,015
Threads: 224
Likes Received: 3,501 in 1,480 posts
Likes Given: 2,964
Joined: Dec 2012
Reputation:
69
Country:
07-23-2019, 05:23 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
May as well make it a deck system for it to be more accurate to actual blackjack and justify a unique command.
Pollux
Fearless Management
bork
__________________________________________________________________
07-23-2019, 05:43 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
Yes please! and also a poker system!
The following 1 user Likes Forgee's post:
• Chumps
Posts: 569
Threads: 29
Likes Received: 603 in 259 posts
Likes Given: 347
Joined: Feb 2014
Reputation:
42
Country:
07-23-2019, 06:10 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
big +support. Will allow for splitting cards in BJ etc
Posts: 1,921
Threads: 83
Likes Received: 1,164 in 634 posts
Likes Given: 1,072
Joined: Mar 2016
Reputation:
36
Country:
07-23-2019, 06:18 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
+support
Posts: 49
Threads: 15
Likes Received: 19 in 9 posts
Likes Given: 42
Joined: Jan 2015
Reputation:
10
Country:
07-23-2019, 08:24 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community .
Edit Reason: Checked Encoding
)
+Support