Well, I've just finished a new theme: Yaiba; based on the anime! Link: http://pastebin.com/raw.php?i=ESYDRTvc Code: Spoiler { "name": "Yaiba", "author": [ "Cat Fart" ], "summary": "Welcome to Japan! The ancestral swords of Devil Wind and Thunder God have started a battle between Yaiba and Takeshi! Help Yaiba and his friends to defeat him! Also, a mysterious princess suddenly appears claiming the Earth as hers... Would you be able to stop all those villains? Good luck!! [Bugs or suggestions? PM Cat Fart!]", "minplayers": 8, "sides": [ { "side": "village", "translation": "Yaiba and Friends", "winmsg": "And finally, Yaiba and his friends got to save the world from all the dangers... Thanks ~Players~!!" }, { "side": "thundergod", "translation": "Thunder God", "winmsg": "Hahahaha!! Feel the power of the THUNDER! The world is now MINE!! ~Players~ laughs!" }, { "side": "takeshi", "translation": "Takeshi's Posse", "winmsg": "World hear me: I'm your owner, and your GOD!! Bow down to ~Players~ ! Bwahahahahaha!!" }, { "side": "kaguya", "translation": "Kaguya's Posse", "winmsg": "Decades of waiting... But now it is like it MUST be! The Moon Princess Kaguya and his minions (~Players~) conquered the Earth!" }, { "side": "dragongod", "translation": "Dragon God", "winmsg": "What is difference between evil and good? Now I can rest forever... You won't see ~Players~ in a long time!" } ], "roles": [ { "role": "yaiba", "translation": "Yaiba", "side": "village", "help": "You're Yaiba Kurogane, the master of Thunder's Sword!! With your powerful technics, you can /kill a player during the standby, and you won't be revealed! However, the evil god that remains into your sword, is trying to posess you during the night... In order to avoid this, you must use /meditate on yourself every night or he'll take the control! Also, because Sayaka is your best friend, you know her identity from the start.", "actions": { "kill": { "mode": { "killif": [ "jubei" ] }, "msg": "What?? Jubei killed you!! ~User~ felt so dishonored that commeted suicide!!" }, "initialCondition": { "curse": { "cursedRole": "thundergod", "curseCount": 0, "curseConvertMessage": "RAAAAAAAAAAWWHH!!! Hahahaha!! You thought you could beat me? The Thunder God has arrived, more powerful than EVER!!" } }, "night": { "meditate": { "command": "convert", "target": "Self", "common": "Self", "priority": 13, "newRole": "yaiba", "canConvert": [ "yaiba" ], "silent": true } }, "standby": { "kill": { "target": "AnyButSelf", "msg": "Prepare for fight! Unsheath the Thunder Sword and end with your enemies with /kill!! (You won't be revealed):", "killmsg": "Lightning Blast!! Yaiba appears from nowhere, jumps, and strikes a mortal shock on ~Target~'s head!!" } }, "startup": { "revealRole": "sayaka" } } }, { "role": "sayaka", "translation": "Sayaka", "side": "village", "help": "You're Sayaka Mine, Yaiba's best friend (You know his identity from the start)! Cute and adorable, you can /distract a player during the night. Because of your poor skills for fighting, you prefer to stay hidden and night, so you can't be nightkilled; however, this reduces your influence when making decisions, so your vote is 0!", "actions": { "startup": { "revealRole": "yaiba" }, "night": { "distract": { "target": "AnyButSelf", "common": "Self", "priority": 1 } }, "vote": 0, "kill": { "mode": "ignore" } } }, { "role": "oldsayaka", "translation": "Old Sayaka", "side": "village", "help": "Young has gone... You feel tired and weak...Kaguya has drained your life's essence!! All you can do now is try to connect your friends; you can't distract anymore and your vote is still 0!", "actions": { "vote": 0 } }, { "role": "mushashi", "translation": "Mushashi", "side": "village", "help": "You're Mushashi Miyamoto, the legendary 400-years old samurai!! Your mission is to train and protect Yaiba and his friends using /protect during the night! Your old body doesn't let you fight... but a long life gave you a lot of experience, providing you a +2 vote! Also, you killed Kojiro in a mighty battle, so you recognize him from the start!", "actions": { "kill": { "mode": { "killif": [ "jubei" ] }, "msg": "What?? Jubei killed you!! ~User~ felt so dishonored that commeted suicide!!" }, "vote": 2, "night": { "protect": { "target": "AnyButSelf", "common": "Self", "priority": 4 } }, "startup": { "revealRole": "kojiro" } } }, { "role": "kojiro", "translation": "Kojiro", "side": "village", "help": "You're Kojiro Sasaki, resurrected swordsman!! With your magic sword, Monohoshizao, you can make some magic tricks using /expose during the standby in order to impress some cute girls (Yeah, you love them) This will let you know the player's identity, but it won't be revealed to the public (And this action doesn't reveal you) Since Mushashi killed you, you know his identity from the start. Also, because of this enmity, you use to contradict Mushashi's decisions, making your vote -2.", "actions": { "kill": { "mode": { "killif": [ "jubei" ] }, "msg": "What?? Jubei killed you!! ~User~ felt so dishonored that commeted suicide!!" }, "vote": -2, "standby": { "expose": { "target": "AnyButSelf", "msg": "Now, you can /expose to reveal someone's role. Take in mind that you won't be revealed but also the exposed player won't be! So only you'll know who is!:", "exposemsg": "'Go Monohoshizao!!' -Kojiro says-. Suddenly, the magic sword enlarges and stops at few centimeters of someone's face. Then, Kojiro exclaims: 'Hah! You're just a ~Role~; I'll keep looking for cute girls!'" } }, "startup": { "revealRole": "mushashi" } } }, { "role": "citizen", "translation": "Citizen", "side": "village", "help": "You're a simple citizen of Japan. Help Yaiba and his friends with your vote during the day!!", "actions": { "kill": { "mode": { "killif": [ "jubei" ] }, "msg": "What?? Jubei killed you!! ~User~ felt so dishonored that commeted suicide!!" } } }, { "role": "jubei", "translation": "Jubei", "side": "village", "help": "You're Jubei Yagyu, a famous swordmaster! Use /kill in order to get rid of your enemies during the night (you've absolute priority)! However, due your strict moral, you'll commite suicide if you kill a innocent (including citizens), so be careful! Also, nobody knows it but you are converted into a wolf during the night, killing your distractors!", "actions": { "night": { "kill": { "target": "AnyButSelf", "common": "Self", "priority": 2 } }, "distract": { "mode": "ChangeTarget", "hookermsg": "You distracted Jubei the last night, but... What??? He was really a werewolf and killef you instead!!", "msg": "The ~Distracter~ came to you last night! The moonlight converted you into a wolf and you devoured her!! Yummy!" }, "avoidHax": [ "kill" ] } }, { "role": "orb", "translation": "Reliance Orb", "side": "village", "help": "You're the Reliance Orb! When you're not in a magic sword, you stay in silence, so you can hear what is happening at night!!", "actions": { "hax": { "kill": { "revealTeam": 0.2, "revealPlayer": 0.04 } } } }, { "role": "dragonyaiba", "translation": "Dragon Yaiba", "side": "village", "help": "Yeah!! Finally, you got the Dragon Orb!! With it, you're now immune to daykills and you gain a vote of +4! However, now your daykill reveals you because you don't control your new powers fully... Also, you don't need to use /meditate anymore!!", "actions": { "vote": 4, "daykill": "evade", "standby": { "kill": { "command": "kill", "target": "AnyButSelf", "msg": "Now, you can use /kill [name] in order to get rid of your enemies! (This will REVEAL you, but you can't be daykilled):", "killmsg": "A dragon's head suddenly appers from ~Self~'s sword. It flys through the air and falls on ~Target~, making him disappear forever!!" } } } }, { "role": "takeshi", "translation": "Takeshi", "side": "takeshi", "help": "You're Takeshi Onimaru, a human possesed by the Devil Wind's sword and Yaiba's antagonist! With it, you can defeat your enemies at night with /kill (shared) Your cold and perverse personality, scares away all possible distractors and spies at night. However, you have not unleashed all your power yet... Maybe the Dragon God is the key for this!", "actions": { "distract": { "mode": "ignore", "msg": "Someone tried to distract you the last night, but your cold apparence scared him away!" }, "night": { "kill": { "target": "AnyButTeam", "common": "Team", "priority": 8, "broadcast": "team", "broadcastmsg": "±Takeshi's Posse: Your teammate ~Player~ (Takeshi) have decided to kill ~Target~! (You should let him lead the kills, since he can't be haxed)", "hide": true } }, "avoidHax": [ "kill" ], "startup": "team-reveal-with-roles" } }, { "role": "demon", "translation": "Demon", "side": "takeshi", "help": "As a simple demon, you follow the orders of your owner, Takeshi the Devil Wind. Use /kill during the night in order to get your enemies! (You should let Takeshi lead the kills, since he can't be haxed and this is shared)", "actions": { "voteshield": -1, "night": { "kill": { "target": "AnyButTeam", "common": "Team", "priority": 8, "broadcast": "team", "broadcastmsg": "±Takeshi's Posse: Your teammate ~Player~ (Demon) have decided to kill ~Target~!", "hide": true } }, "startup": "team-reveal-with-roles" } }, { "role": "spiderman", "translation": "Spiderman", "side": "takeshi", "help": "You're Kumo-Otoko, best known as Spiderman, one of the Takeshi's Hakki! As most loyal servant of Takeshi, you can /protect him or your allies! Also, you can try to /annoy Yaiba during the night, blocking his meditation and making him being possesed by the Thunder's God! Haha!", "actions": { "night": { "annoy": { "command": "safeguard", "target": "AnyButTeam", "common": "Self", "priority": 12, "broadcast": "team", "broadcastmsg": "±Takehi's Posse: Your teammate ~Player~ (Spiderman) have decided to annoy ~Target~!", "hide": true }, "protect": { "target": "AnyButSelf", "common": "Role", "priority": 6, "broadcast": "team", "broadcastmsg": "±Takeshi's Posse: Your teammate ~Player~ (Spiderman) have decided to protect ~Target~!" } }, "startup": "team-reveal-with-roles" } }, { "role": "etakeshi", "translation": "Empowered Takeshi", "side": "takeshi", "help": "Finally!! With the Dragon's God death, your body was completly possesed by the Devil Wind, giving you all his power!! You can still /kill during the night without being haxed or distracted, plus a new not-revealing daykill and a second revealing daykill! Now the world is yours!", "actions": { "distract": { "mode": "ignore", "msg": "Someone tried to distract you the last night, but your cold apparence scared him away!" }, "night": { "kill": { "target": "AnyButTeam", "common": "Team", "priority": 8, "broadcast": "team", "broadcastmsg": "±Takeshi's Posse: Your teammate ~Player~ (Empowered Takeshi) have decided to kill ~Target~! (You should let him lead the kills, since he can't be haxed)", "hide": true } }, "standby": { "kill": { "target": "AnyButTeam", "msg": "Now you can /kill your enemies! (You won't be revealed):", "killmsg": "An air breeze suddenly appears in the silence... Suddenly the sky clouds and a huge tornado hits ~Target~!! 'Hahaha! Yaiba, you're finished' -Takeshi says-." }, "twister": { "command": "kill", "target": "AnyButTeam", "msg": "Also, you can use /twister to kill another enemy, but this will reveal you!:", "killmsg": "~Self~'s sword shines with a blinding light and a twister appears from it... 'DIE, Yaiba, DIE!! Hahahaha!' -Empowered Takeshi says-. ~Target~ was no rival for this!" } }, "avoidHax": [ "kill" ], "startup": "team-reveal-with-roles" } }, { "role": "dragongod", "translation": "Dragon God", "side": "dragongod", "winningSides": [ "village", "takeshi" ], "help": "You're the Dragon God! Mystic power runs thorugh your veins... And thats why your death unleash an incredible power on some magic swords owners (Yaiba and Takeshi) You appear like a simple citizen in order to see what happens being unnoticed... Your power gave you a powerful +3 vote, and you don't care who wins this war, so you win with anyone except Kaguya's Posse, since she's your archenemy!", "actions": { "vote": 3, "onlist": "citizen", "onDeath": { "convertRoles": { "yaiba": "dragonyaiba", "takeshi": "etakeshi" }, "convertmsg": "The Dragon God died! With his death, the power of the Dragon Orb is unleashed and Yaiba got new abilities!! However, Takeshi's body was completely possesed by the Demon Wind, making him stronger than ever!" } } }, { "role": "thundergod", "translation": "Possessed Yaiba", "side": "thundergod", "help": "ADD HELP", "actions": { "voteshield": -2, "daykill": "evade", "kill": { "mode": "ignore" }, "night": { "kill": { "target": "AnyButSelf", "common": "Self", "priority": 7 } }, "standby": { "kill": { "command": "kill", "target": "AnyButSelf", "msg": "Now you can use /kill, but this will reveal you!:", "killmsg": "~Self~ points at the sky with his sword and suddenly a huge black cloud appears. 'This is the true power of the THUNDER GOD, HAHAHAHA!!' Then, a powerful lightning falls upon ~Target~, who faded immediately!" } } } }, { "role": "mangetsu", "translation": "Mangetsu", "side": "kaguya", "help": "You're Mangetsu, one of the loyal servants of the Moon Princess Kaguya. Thanks to your ability of converting yourself in different objects, you adopted the form of a propane tank, exploding when you're killed!", "actions": { "startup": "team-reveal-with-roles", "kill": { "mode": "killattackerevenifprotected" }, "daykill": "bomb", "daykillrevengemsg": "~Target~ tried to kill ~Self~, but he was converted into a propane tank and both died with the explosion!!" } }, { "role": "tsukikage", "translation": "Tsukikage", "side": "kaguya", "help": "You're Tsukikage, the favorite and most loyal servant of the Moon Princess Kaguya! During the night, you can /protect one ally from nightkills and you share a kill with Kaguya, but take in mind that she can't be haxed, so she should lead the kills!", "actions": { "night": { "kill": { "target": "AnyButTeam", "common": "Team", "priority": 9, "broadcast": "team", "broadcastmsg": "±Kaguya's Posse: Your teammate ~Player~ (Tsukikage) have decided to kill ~Target~!", "hide": true }, "protect": { "target": "AnyButSelf", "common": "Role", "priority": 5, "broadcast": "team", "broadcastmsg": "±Kaguya's Posse: Your teammate ~Player~ (Tsukikage) have decided to protect ~Target~!" } }, "startup": "team-reveal-with-roles" } }, { "role": "gekko", "translation": "Gekko", "side": "kaguya", "help": "You're Gekko, a powerful servant of Kaguya. Some time ago, you tried to topple Kaguya's reign, and thats why you were jailed. Because of this, your vote worths -2. However, Kaguya may need you in this battle for Earth, so she is planing to liberate you...", "actions": { "vote": -2, "initialCondition": { "curse": { "cursedRole": "gekkokiller", "curseCount": 2, "curseConvertMessage": "'Liberate Gekko!!'-says Kaguya-. 'Give him the Mao-Ken, the Dark Sword!! And now, destroy Yaiba and all his friends!'" } }, "startup": "team-reveal-with-roles" } }, { "role": "gekkokiller", "translation": "Gekko", "side": "kaguya", "help": "Finally, you were liberated and now the Dark Sword is yours! With its incredible power, your /kill outspeed all the other actions, and is not shared! Also, Kaguya doesn't really trust you, so your vote is still -2.", "actions": { "night": { "slash": { "command": "kill", "target": "AnyButTeam", "common": "Self", "priority": 3 } }, "vote": -2, "startup": "team-reveal-with-roles" } }, { "role": "kaguya", "translation": "Kaguya", "side": "kaguya", "help": "You're Kaguya, the powerful Moon Princess! Some time ago you fall in a long dream induced by the Dragon God... In order to recover your original power, you have to drain Sayaka's essence with /drain during the night!! Also, you can /kill (shared with Tsukikage) to destroy your enemies and you can't be haxed, night or daykilled because you're in a vetetative state!", "actions": { "avoidHax": [ "kill" ], "startup": "team-reveal-with-roles", "daykill": "evade", "kill": { "mode": "ignore" }, "night": { "kill": { "target": "AnyButTeam", "common": "Team", "priority": 9, "broadcast": "team", "broadcastmsg": "±Kaguya's Posse: Your teammate ~Player~ (Kaguya) have decided to kill ~Target~! (She can't be haxed)", "hide": true }, "drain": { "target": "AnyButTeam", "common": "Self", "priority": 11, "canCopy": [ "sayaka" ], "copyAs": { "ekaguya": [ "sayaka" ] }, "copymsg": "The Moon Princess Kaguya drained ~Target~'s life essence!! Her power is unleashed and she leaves her human body, becoming a horrible and powerful monster!!", "newRole": "oldsayaka", "canConvert": [ "sayaka" ], "command": [ "copy", "convert" ] } } } }, { "role": "ekaguya", "translation": "Empowered Kaguya", "side": "kaguya", "winIfDeadRoles": [ "yaiba", "takeshi", "dragonyaiba", "etakeshi", "thundergod" ], "help": "YES!! You finally got to return to your original form!!! Now, your vote worths 69 and you have another nightkill with /destroy besides the /kill you had! Also, because you're the Moon Princess, you can't be nightkilled, but you may die at day! ", "actions": { "vote": 69, "avoidHax": [ "kill" ], "startup": "team-reveal-with-roles", "kill": { "mode": "ignore" }, "night": { "kill": { "target": "AnyButTeam", "common": "Team", "priority": 9, "broadcast": "team", "broadcastmsg": "±Kaguya's Posse: Your teammate ~Player~ (Kaguya) have decided to kill ~Target~! (She can't be haxed)", "hide": true }, "destroy": { "command": "kill", "target": "AnyButTeam", "common": "Self", "priority": 10, "broadcast": "team", "broadcastmsg": "±Kaguya's Posse: Your teammate ~Player~ (Kaguya) have decided to destroy ~Target~!", "hide": true } } } } ], "roles1": [ "yaiba", "sayaka", "kojiro", "citizen", "citizen", "takeshi", "demon", "gekko", "citizen", "spiderman", "citizen", "mushashi" ], "roles2": [ "yaiba", "sayaka", "kojiro", "mushashi", "citizen", "citizen", "citizen", "takeshi", "demon", "spiderman", "dragongod", "kaguya", "tsukikage", "citizen", "jubei", "gekko", "citizen", "citizen", "mangetsu", "demon", "orb", "citizen", "citizen", "citizen", "citizen", "citizen", "citizen", "citizen", "citizen", "citizen" ], "villageCantLoseRoles": [ "yaiba", "jubei", "mushashi", "dragonyaiba" ], "killmsg": "±Dragon God: And another life (~Role~) fades in this battle...", "killusermsg": "±Game: You died!!" } [/HIDE] Small abstract about roles and sides: Spoiler -Yaiba and Friends (village): Yaiba: not revealing daykiller. Every turn he has to use a command on him (/meditate), or he'll be converted by a curse in Possessed Yaiba (Thunder God) Knows Sayaka. Sayaka: PL. Vote 0 but can't be nightkilled. Knows Yaiba. Mushashi: BG. Vote +2. Knows Kojiro. Kojiro: This is more hard to explain. It's a not-revealing exposer, but he'll be the only who knows who did he expose (only the role is revealed at the chat, but no the user exposed... This promotes fakeclaims from baddies when revealed ,and in the other hand reduces the team-revealing) Vote -2. Knows Mushashi. Jubei: Kefka-Vigilante. But if he kills a PR or citizen, he'll sui. This reduces the vigi-kill-fest, so he'll only kill sure baddies. Revenges distracts like a WW. Citizen: basic villy without hax. Reliance Orb: basic spy. Dragon Yaiba: revealing daykiller. Can't be daykilled. Vote +4. Doesn't need to meditate anymore. -Takeshi's Posse: Takeshi: nightkiller. Can't be haxed, ignores pl. Empowered Takeshi: nightkiller + not-revealing daykill + revealing daykill Spiderman: bg. Can use /annoy (if he hits yaiba, he won't /meditate and he'll be converted into Possessed Yaiba/Thunder God) Demon: killer, shares the Takeshi's kill but can be haxed. -1 voteshield. -Kaguya's Posse: Kaguya: can't be night or daykilled. Shares a kill with Tsukikage. Can /drain 1 player during the night (if she drains Sayaka, he becomes Empowered Kaguya and Sayaka becomes Old Sayaka) Empowered kaguya: Kuja + 2 nightkills (one of them still shared with Tsukikage) Gekko: can do nothing. Starts with a curse with count = 2, in that moment he's converted into Gekko II. Vote -2. Gekko II: nightkill not shared; it's a kefka nightkill, but with lower prio than Jubei's kill. Vote -2. Tsukikage: protect + shared nightkill with kaguya (can be haxed) Mangetsu: bomb and daybomb. -Dragon God: Dragon God: wins with Yaiba and Takeshi's Posse, but not with Kaguya's one. Vote +3. Appears as citizen. If killed, Yaiba becomes Dragon Yaiba and Takeshi, Empowered Takeshi. -Thunder God: Possessed Yaiba: nightkill + daykill with reveal. Can't be night or daykilled. Voteshield of -2. [/HIDE] (JSONLint and IceKirby Mafia checker 100% ok.) But here is the problem: since english is not my main language, I need someone who wanna help me with this... correcting aaaaall the grammar, and adding some flavour to the theme (it's difficult for me to do this because of the difference between some expressions) Also, all the corrections or advices will be really welcome :) Anyone wanna help me, please? :<
I'm not sure if Meditate will work. You see, InitialCondition works after most things have happened. Meaning that after he converts himself through meditate, he'll turn into him again, and he will turn into Thunder God after. I think this might fix it: You can make two roles for Yaiba: The first is what he starts with, and he has Initial Curse Confition with Count of 1 that will convert into Yaiba 2 with meditate. If you give Yaiba 2 both Initial Clear Condition and Initial Curse Condition with a count of 2, he will clear first, then the first count will happen on that night. He will be converted to thunder god if he doesn't meditate. Having two Yaiba is for coding purposes only. You can put the same help message for both
Actually, Clear will happen after the Curse, so if you have both on Initial Condition, the role will not be cursed. If you want to override a Curse, you can simply have InitialCondition: Curse, since it will override any previous Curse regardless of the current count.
Tested it on my server. Meditate works, and /annoy from Spiderman stops it as well as the distract from Sayaka. Pretty cool overall. Just add that second yaiba form to cycle through the meditations (Don't forget to add that on the onDeath to the orb too, as well as anywhere else). Lots of great flavor, just need to fix the grammar. ^_^.
Thanks to Roild and Fuzzy for testing the theme :) ! Also thanks to Rice and Angel for review!! "yaiba1" was added, the pastebin's code is uploaded! So, only grammar's correction is left for posting this for QC's review... If someone is interested just post here!! :)