Merge pull request #102 from ThomasRubini/bulk_import_cleanup

This commit is contained in:
Thomas Rubini 2023-03-18 18:44:45 +01:00 committed by GitHub
commit e0ae64cba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 81 deletions

View File

@ -1,65 +0,0 @@
rooms:
livingRoom:
EN: "the living room"
FR: "le salon"
kitchen:
EN: "the kitchen"
FR: "La couisine >:("
questions:
where:
text:
- FR: "Ou étais tu ?"
- FR: "Where were you ?"
withwho:
text:
- FR: "Avec qui étais tu ?"
- EN: "Who were you with ?"
traits:
happy:
name:
FR: "Heureux"
EN: "Happy"
description:
FR: "Une description"
EN: "Some description"
sad:
name:
FR: "Malheureux"
EN: "sad"
description:
FR: "Une description 2"
EN: "Some description 2"
npc:
diva:
name:
FR: "La diva"
EN: "The diva"
reactions:
neutral:
img: "local/files/diva/neutral.png"
happy:
img: "local/files/diva/happy.png"
sad:
img: "local/files/diva/sad.png"
answers:
withwho:
- EN: "I was in {ROOM}"
- FR: "J'étais dans {ROOM}"
agent:
name:
FR: "L'agent"
EN: "The agent"
reactions:
neutral:
img: "local/files/agent/neutral.png"
sad:
img: "local/files/agent/happy/1.png"
answers:
where:
- EN: "I was in {ROOM}"
- FR: "J'étais dans la salle {ROOM}"
- EN: "{ROOM} reminds me of my travls"

View File

@ -1,16 +0,0 @@
# Load .env file
from dotenv import load_dotenv
load_dotenv()
import argparse
from sqlalchemy.orm import sessionmaker
from truthinquiry.ext.database.sa import engine
from truthinquiry.ext.database.models import *
Session = sessionmaker(bind=engine)
session = Session()
results = session.query(Npc).all()
print(results)