Skip to content

Releases: DRincs-Productions/NQTR-System

v2.0.5

19 Apr 14:56
Compare
Choose a tag to compare

What's Changed

  • 99 force display completed quest and improve quest next stage only is completed by @BlackRam-oss in #100

Full Changelog: v2.0.4...v2.0.5

v2.0.4

31 Jan 10:07
Compare
Choose a tag to compare

What's Changed

  • 97 enable picture in background for room and conversation by @BlackRam-oss in #98

Full Changelog: v2.0.3...v2.0.4

v2.0.3

21 Jan 17:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

16 Jan 18:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

v2.0.1

29 Dec 17:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

22 Sep 13:39
Compare
Choose a tag to compare

There have been many changes for this reason I advise you to be very careful if you intend to update your version

Install Manual

You can install this version only manually:

Or you can use git submodule, but for install Install LTS Version

Migrations

Migrations

Routine Migration

For exemple:

the old routine:

init python:
    from pythonpackages.nqtr.routine import Commitment
    from pythonpackages.nqtr.action_talk import TalkObject

define df_routine = {
    # ...
    "alice_read" : Commitment(
        ch_talkobj_dict={
            "alice" : TalkObject(
                name="talk_alice_read",

                conversation_background ="bg alice terrace talk"
            ),
        },
        hour_start=10, hour_stop=20,
        location_id="house", room_id="terrace",
        background ="bg alice terrace",
    ),
}

the new routine:

init python:
    from pythonpackages.nqtr.routine import Commitment
    from pythonpackages.nqtr.conversation import Conversation

define df_routine = {
    # ...
    "alice_read" : Commitment(
        conversations = [
            Conversation(
                name="talk_alice_read",
                characters=a,
                conversation_background ="bg alice terrace talk"
            ),
        ],
        hour_start=10, hour_stop=20,
        location_id="house", room_id="terrace",
        background ="bg alice terrace",
    ),
}

Conversation Migration

For exemple:

to add conversation:

python:
    add_talk_choice(choice_id = "alice", choice_text = _("About the Ann"), label_name = "stage_talkalice_aboutann", dict_choices = talkch_choices)

now:

python:
    add_conversation_choice(choice_character = a, choice_text = _("About the Ann"), label_name = "stage_talkalice_aboutann")

to remove conversation:

python:
    del_talk_choice(choice_id = "alice", choice_text = _("About the Ann"), dict_choices = talkch_choices)

now:

python:
    del_conversation_choice(choice_character = a, choice_text = _("About the Ann"))

Use search and replace of vscode with regex functionality enabled

image

getTalkLabelName

  • getTalkLabelName\(\)
  • label_name

getButtonIcon

  • getButtonIcon\(\)
  • button_icon

get_hour_name

  • get_hour_name\(\)
  • timeslot_name

get_day_number

  • get_day_number\(\)
  • day

get_hour_number

  • get_hour_number\(\)
  • hour

get_weekday_number

  • get_weekday_number\(\)
  • weekday_number

get_weekday_name

  • get_weekday_name\(\)
  • weekday_name

isEvent

  • isEvent\(\)
  • is_event

getBackground

  • getBackground\(\)
  • background

bg

  • bg =(.*)
  • background =$1

bg

  • bg=(.*)
  • background =$1

isButton

  • isButton\(\)
  • is_button

isPictureInBackground

  • isPictureInBackground\(\)
  • is_picture_in_background

getButtonOrDefault

  • getButtonOrDefault\(\)
  • button_icon

getPictureInBackgroundOrDefault

  • getPictureInBackgroundOrDefault\(\)
  • picture_in_background

getSelectedButtonOrDefault

  • getSelectedButtonOrDefault\(\)
  • button_icon_selected

getSelectedPictureInBackgroundOrDefault

  • getSelectedPictureInBackgroundOrDefault\(\)
  • picture_in_background_selected

image_time

  • image_time
  • timeslot_number

hour_names

  • hour_names
  • timeslot_names

tm_start

  • tm_start
  • hour_start

tm_stop

  • tm_stop
  • hour_stop

stages_id

  • stages_id
  • stage_ids

number_stages_completed_in_quest_requests

  • number_stages_completed_in_quest_requests
  • required_number_completed_stages

weekend_day

  • weekend_day
  • weekday_weekend_begins

updateFlags

  • updateFlags\((.*)\)
  • update_flags($1)

getFlags

  • getFlags\((.*)\)
  • get_flags($1)

setFlags

  • setFlags\((.*)\)
  • set_flags($1)

notifyEx

  • notifyEx\((.*)\)
  • notify_add($1)

notifyExPreventsLoops

  • notifyExPreventsLoops\((.*)\)
  • notify_prevents_loops($1)

notifyExClean

  • notifyExClean\((.*)\)
  • notify_remove($1)

clearExpiredActions

  • clearExpiredActions\((.*)\)
  • clear_expired_actions($1)

isDisabled

  • isDisabled\((.*)\)
  • is_disabled($1)

isHidden

  • isHidden\((.*)\)
  • is_hidden($1)

isClosedRoom

  • isClosedRoom\((.*)\)
  • is_closed_room($1)

getRoomById

  • getRoomById\((.*)\)
  • get_room_by_id($1)

getLocationById

  • getLocationById\((.*)\)
  • get_location_by_id($1)

addInCurrentQuestStages

  • addInCurrentQuestStages\((.*)\)
  • add_in_current_stages($1)

addInCurrentTaskStages

  • addInCurrentTaskStages\((.*)\)
  • add_in_current_stages($1)

respectAllRequests

  • respectAllRequests\((.*)\)
  • all_requests_are_met($1)

isCompleted

  • isCompleted\((.*)\)
  • is_completed($1)

setDayNumberRequiredToStart

  • setDayNumberRequiredToStart\((.*)\)
  • add_required_days_to_start($1)

currentQuestId

  • currentQuestId\((.*)\)
  • quest_id($1)

completeStagesNumber

  • completeStagesNumber\((.*)\)
  • completed_stages_number($1)

getPercentageCompletion

  • getPercentageCompletion\((.*)\)
  • percentage_completion($1)

nextStage

  • nextStage\((.*)\)
  • next_stage($1)

afterNextStage

  • afterNextStage\((.*)\)
  • after_next_stage($1)

getChIcons

  • getChIcons\((.*)\)
  • character_icons($1)

getTalkBackground

  • getTalkBackground\((.*)\)
  • conversation_background($1)

clearExpiredRoutine

  • clearExpiredRoutine\((.*)\)
  • clear_expired_routine($1)

getChsInThisLocation

  • getChsInThisLocation\((.*)\)
  • characters_commitment_in_current_location($1)

getEventsInThisLocation

  • getEventsInThisLocation\((.*)\)
  • characters_events_in_current_location($1)

getChLocation

  • getChLocation\((.*)\)
  • commitment_by_character($1)

getBgRoomRoutine

  • getBgRoomRoutine\((.*)\)
  • commitment_background($1)

updateQuestsLevels

  • updateQuestsLevels\((.*)\)
  • update_quests_levels($1)

checkInactiveStage

  • checkInactiveStage\((.*)\)
  • check_inactive_stage($1)

checkIfTheQuestExist

  • checkIfTheQuestExist\((.*)\)
  • is_quest_existing($1)

checkIfTheQuestIsInNumberStages

  • checkIfTheQuestIsInNumberStages\((.*)\)
  • is_quest_in_number_stages($1)

checkIfTheQuestIsCurrentTaskStages

  • checkIfTheQuestIsCurrentTaskStages\((.*)\)
  • is_quest_in_current_task_stages($1)

checkIfTheQuestIsCurrentQuestStages

  • checkIfTheQuestIsCurrentQuestStages\((.*)\)
  • is_quest_in_current_quest_stages($1)

quest_getPercentageCompletion

  • quest_getPercentageCompletion\((.*)\)
  • quest_percentage_completion($1)

quest_setDayNumberRequiredToStart

  • quest_setDayNumberRequiredToStart\((.*)\)
  • quest_add_required_days_to_start($1)

quest_nextStageOnlyIsCompleted

  • quest_nextStageOnlyIsCompleted\((.*)\)
  • quest_next_stage_only_is_completed($1)

quest_nextStage

  • quest_nextStage\((.*)\)
  • quest_next_stage($1)

quest_isStarted

  • quest_isStarted\((.*)\)
  • quest_is_started($1)

quest_isCompleted

  • quest_isCompleted\((.*)\)
  • quest_is_completed($1)

quest_currentQuestId

  • quest_currentQuestId\((.*)\)
  • quest_current_quest_id($1)

quest_completeStagesNumber

  • quest_completeStagesNumber\((.*)\)
  • quest_complete_stages_number($1)

addTalkChoice

  • addTalkChoice\((.*)\)
  • add_conversation_choice($1)

delTalkChoice

  • delTalkChoice\((.*)\)
  • del_conversation_choice($1)

What's Changed

Read more

Code Snippets v2.0.0

22 Sep 13:27
Compare
Choose a tag to compare

This is the release of code-snippets designed for VS Code.

Download it and extract the files in the project folder. so /.vscode/***.code-snippets

v1.0.3

11 Mar 17:59
Compare
Choose a tag to compare
git checkout -b nqtr-tool
git checkout nqtr-tool
git config pull.rebase false
git pull https://github.com/DRincs-Productions/NQTR-System.git v1.0.3 --allow-unrelated-histories

Now NQTR is a python library, and renpy interacts with it through easy-to-use functions.

What it means:

Pros:

  • Performance
  • I can now develop directly with python. this makes my life easier since I can use the tools to develop in python
  • Can create tests
  • From now on future versions will have less complex migration: since now I aim to modify as little as possible renpy functions , but only the library.

Cons:

  • Sharing variables with renpy and the library is slightly more difficult because it relies on pointers. (As long as I only share dictionaries, I won't have any big problems).

Migrations

Use search and replace of vscode with regex functionality enabled

image

quest_start

  • quests\["(.*)"\].start\(\)
  • quest_start(id = "$1")

quest_nextStage

  • quests\["(.*)"\].nextStage\(\)
  • quest_nextStage(id = "$1")

quest_nextStageOnlyIsCompleted

  • quests\["(.*)"\].nextStageOnlyIsCompleted\(\)
  • quest_nextStageOnlyIsCompleted(id = "$1")

quest_setDayNumberRequiredToStart

  • quests\["(.*)"\].SetDayNumberRequiredToStart\((.*)\)
  • quest_setDayNumberRequiredToStart(id = "$1",$2)

new_day

  • tm.new_day\((.*))\
  • new_day($1)

new_hour

  • tm.new_hour((.*))
  • new_hour($1)

setFlags

  • flags\["(.*)"\] =(.*)
  • setFlags("$1",$2)

What's Changed

  • 55 convert pos to align by @donrp in #56
  • 57 convert all class in library py by @donrp in #58

Full Changelog: v1.0.2...v1.0.3

v1.0.2

29 Oct 09:58
Compare
Choose a tag to compare
git checkout -b NQTR-toolkit
git checkout NQTR-toolkit
git config pull.rebase false
git pull https://github.com/DRincs-Productions/NQTR-toolkit.git v1.0.2 --allow-unrelated-histories

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

11 Oct 16:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/DRincs-Productions/NQTR-toolkit/commits/v1.0.1