# Import the models
from api.models import SubGenre, Trope
# Create SubGenres
lit_rpg = SubGenre.objects.create(name='LitRPG', description='Literature that incorporates role-playing game mechanics into the narrative.')
progression_fantasy = SubGenre.objects.create(name='Progression Fantasy', description='Focuses on character growth and development through leveling up and acquiring new skills.')
survival_rpg = SubGenre.objects.create(name='Survival RPG', description='Characters must survive in a hostile environment, facing threats from monsters and other players.')
gamelit = SubGenre.objects.create(name='GameLit', description='Emphasizes the narrative aspects of gaming, incorporating game mechanics into the story.')
vr_litrpg = SubGenre.objects.create(name='Virtual Reality LitRPG', description='Set in fully immersive virtual reality environments where characters interact with the game world as if it were real.')
dungeon_crawler = SubGenre.objects.create(name='Dungeon Crawler', description='Focuses on exploring dungeons, battling monsters, and collecting loot.')
isekai_litrpg = SubGenre.objects.create(name='Isekai LitRPG', description='Involves characters being transported to a different world with RPG elements.')
comedy_litrpg = SubGenre.objects.create(name='Comedy LitRPG', description='Incorporates humor and satire into the LitRPG framework.')
# Create tropes for LitRPG
Trope.objects.create(
name='Leveling Up',
description='Characters gain experience points (XP) and level up, becoming stronger and more capable.',
sub_genre=lit_rpg,
examples='In "Awaken Online" by Travis Bagwell, the protagonist, Jason, levels up his character through various quests and battles, gaining new skills and abilities as he progresses.'
)
Trope.objects.create(
name='Game Mechanics',
description='The story often includes detailed descriptions of game mechanics, such as stats, skills, and inventory systems.',
sub_genre=lit_rpg,
examples='In "The Land" series by Aleron Kong, the protagonist, Richter, frequently checks his character sheet, which displays his stats, skills, and inventory, allowing readers to understand his growth and choices.'
)
Trope.objects.create(
name='The Chosen One',
description='The protagonist is often portrayed as a special character destined for greatness, often with unique abilities or a significant role in the game\'s world.',
sub_genre=lit_rpg,
examples='In "Sufficiently Advanced Magic" by Andrew Rowe, the main character, who possesses unique magical abilities, is thrust into a world where he must fulfill a significant role in the unfolding events.'
)
Trope.objects.create(
name='Guilds and Parties',
description='Characters often form groups or guilds to tackle challenges together, emphasizing teamwork and camaraderie.',
sub_genre=lit_rpg,
examples='In "Play to Live" by D. Rus, the protagonist joins a guild to survive and thrive in a deadly virtual world, highlighting the importance of collaboration and strategy.'
)
Trope.objects.create(
name='NPCs with Depth',
description='Non-player characters (NPCs) are often given more depth and personality, sometimes becoming allies or important figures in the story.',
sub_genre=lit_rpg,
examples='In "The Land: Founding" by Aleron Kong, NPCs are not just background characters; they have their own stories, motivations, and can even evolve alongside the protagonist.'
)
Trope.objects.create(
name='Real-Life Consequences',
description='Actions taken in the game world can have real-life repercussions, adding stakes to the gameplay.',
sub_genre=lit_rpg,
examples='In "Awaken Online," the protagonist\'s actions in the game can affect his real-life situation, creating tension and urgency in his decisions.'
)
Trope.objects.create(
name='Overpowered Protagonist (OP)',
description='The main character often becomes exceptionally powerful, sometimes to the point of being invincible.',
sub_genre=lit_rpg,
examples='In "The Beginning After the End" by TurtleMe, the protagonist reincarnates into a fantasy world with immense power, allowing him to overcome challenges that would be insurmountable for ordinary characters.'
)
# Create tropes for Progression Fantasy
Trope.objects.create(
name='Progression Fantasy',
description='Focuses on character growth and development through leveling up and acquiring new skills.',
sub_genre=progression_fantasy,
examples='The "Land" series by Aleron Kong showcases a protagonist who levels up and gains new abilities while navigating a richly developed fantasy world.'
)
# Create tropes for Survival RPG
Trope.objects.create(
name='Survival RPG',
description='Characters must survive in a hostile environment, facing threats from monsters and other players.',
sub_genre=survival_rpg,
examples='In "Play to Live" by D. Rus, the protagonist must navigate a deadly virtual world where survival is paramount, and every decision can mean the difference between life and death.'
)
# Create tropes for GameLit
Trope.objects.create(
name='GameLit',
description='Focuses on the narrative aspects of gaming, incorporating game mechanics into the story.',
sub_genre=gamelit,
examples='In "Awaken Online" by Travis Bagwell, traditional storytelling blends with game mechanics, allowing readers to experience the protagonist\'s journey through a virtual world.'
)
# Create tropes for Virtual Reality LitRPG
Trope.objects.create(
name='Virtual Reality LitRPG',
description='Set in fully immersive virtual reality environments where characters interact with the game world as if it were real.',
sub_genre=vr_litrpg,
examples='In "Sword Art Online" by Reki Kawahara, characters are trapped in a VR game, where they must navigate challenges and fight for their lives to escape.'
)
# Create tropes for Dungeon Crawler
Trope.objects.create(
name='Dungeon Crawler',
description='Focuses on exploring dungeons, battling monsters, and collecting loot.',
sub_genre=dungeon_crawler,
examples='The "Dungeon Crawler Carl" series by Matt Dinniman follows the adventures of a character navigating a dangerous dungeon filled with monsters and traps.'
)
# Create tropes for Isekai LitRPG
Trope.objects.create(
name='Isekai LitRPG',
description='Involves characters being transported to a different world with RPG elements.',
sub_genre=isekai_litrpg,
examples='In "Re:Zero - Starting Life in Another World" by Tappei Nagatsuki, the protagonist is transported to a fantasy world and must navigate its challenges while utilizing his unique ability to return from death.'
)
# Create tropes for Comedy LitRPG
Trope.objects.create(
name='Comedy LitRPG',
description='Incorporates humor and satire into the LitRPG framework.',
sub_genre=comedy_litrpg,
examples='"Awaken Online: Catharsis" by Travis Bagwell includes comedic elements and humorous situations that arise from the protagonist\'s interactions with the game world and its mechanics.'
)
print("Sample data created successfully!")