The Earth's Gut for BfW 1.16

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
User avatar
egallager
Posts: 584
Joined: November 19th, 2020, 7:27 pm
Location: Concord, New Hampshire
Contact:

Re: The Earth's Gut for BfW 1.16

Post by egallager »

Well, anyways, I have gone and made a new release of TEG in the meantime, while we wait and see if Anonymissimus has anything else to say: TEG 0.5.2 is now available on the BfW 1.16 add-on server; release notes can be found in its corresponding GitHub tag: https://github.com/cooljeanius/The_Earths_Gut/releases/tag/0.5.2
User avatar
Straff
Posts: 87
Joined: September 27th, 2020, 2:53 pm

Re: The Earth's Gut for BfW 1.16

Post by Straff »

Wesnoth version 1.16
TEG version 0.5.2

In the last scenarios the final event, the player is able to trigger the event infinitive times, and that is weird and surely not intended.
I guess the first_time_only=no is the problem.

Code: Select all

   ################################################################
    # *************************
    # * BEGIN ENDGAME SECTION *
    # *************************

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_location]
                location_id="sceptre"
            [/filter_location]
        [/filter]
        [message]
            speaker=unit
            # po: "it" = The Hammer of Thursagan:
            message=_"We found it!"
        [/message]
        [unit]
            type=Undead Dwarvish Rune Lord
            canrecruit=yes
            side=6
            id=dwarflich
            # wmllint: local spelling Torlatus
            name="Torlatus"
            extra_recruit=Undead Dwarf
            upkeep=free
            ai_special=guardian
            profile="portraits/karrag.png~RIGHT()"
            x,y=41,14
            passable=yes
            [modifications]
                {TRAIT_UNDEAD}
                {TRAIT_STRONG}
                {TRAIT_RESILIENT}
            [/modifications]
        [/unit]
        [message]
            speaker=dwarflich
            message=_"Oh no you don't! That's <b>MY</b> hammer!"
        [/message]
User avatar
egallager
Posts: 584
Joined: November 19th, 2020, 7:27 pm
Location: Concord, New Hampshire
Contact:

Re: The Earth's Gut for BfW 1.16

Post by egallager »

Straff wrote: April 10th, 2023, 9:07 am Wesnoth version 1.16
TEG version 0.5.2

In the last scenarios the final event, the player is able to trigger the event infinitive times, and that is weird and surely not intended.
I guess the first_time_only=no is the problem.

Code: Select all

   ################################################################
    # *************************
    # * BEGIN ENDGAME SECTION *
    # *************************

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_location]
                location_id="sceptre"
            [/filter_location]
        [/filter]
        [message]
            speaker=unit
            # po: "it" = The Hammer of Thursagan:
            message=_"We found it!"
        [/message]
        [unit]
            type=Undead Dwarvish Rune Lord
            canrecruit=yes
            side=6
            id=dwarflich
            # wmllint: local spelling Torlatus
            name="Torlatus"
            extra_recruit=Undead Dwarf
            upkeep=free
            ai_special=guardian
            profile="portraits/karrag.png~RIGHT()"
            x,y=41,14
            passable=yes
            [modifications]
                {TRAIT_UNDEAD}
                {TRAIT_STRONG}
                {TRAIT_RESILIENT}
            [/modifications]
        [/unit]
        [message]
            speaker=dwarflich
            message=_"Oh no you don't! That's <b>MY</b> hammer!"
        [/message]
Oh right, that appears to be left over from when I was first testing the event, before it did much of anything; let me test removing it...
User avatar
egallager
Posts: 584
Joined: November 19th, 2020, 7:27 pm
Location: Concord, New Hampshire
Contact:

Re: The Earth's Gut for BfW 1.16

Post by egallager »

A new TEG release, 0.6.0, is now available on the BfW 1.16 add-on server! Release notes are in the corresponding GitHub tag here:
https://github.com/cooljeanius/The_Earths_Gut/releases/tag/0.6.0
egallager wrote: April 13th, 2023, 12:32 am
Straff wrote: April 10th, 2023, 9:07 am Wesnoth version 1.16
TEG version 0.5.2

In the last scenarios the final event, the player is able to trigger the event infinitive times, and that is weird and surely not intended.
I guess the first_time_only=no is the problem.

Code: Select all

   ################################################################
    # *************************
    # * BEGIN ENDGAME SECTION *
    # *************************

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1
            [filter_location]
                location_id="sceptre"
            [/filter_location]
        [/filter]
        [message]
            speaker=unit
            # po: "it" = The Hammer of Thursagan:
            message=_"We found it!"
        [/message]
        [unit]
            type=Undead Dwarvish Rune Lord
            canrecruit=yes
            side=6
            id=dwarflich
            # wmllint: local spelling Torlatus
            name="Torlatus"
            extra_recruit=Undead Dwarf
            upkeep=free
            ai_special=guardian
            profile="portraits/karrag.png~RIGHT()"
            x,y=41,14
            passable=yes
            [modifications]
                {TRAIT_UNDEAD}
                {TRAIT_STRONG}
                {TRAIT_RESILIENT}
            [/modifications]
        [/unit]
        [message]
            speaker=dwarflich
            message=_"Oh no you don't! That's <b>MY</b> hammer!"
        [/message]
Oh right, that appears to be left over from when I was first testing the event, before it did much of anything; let me test removing it...
Oops, I forgot to address this, though; let me add this to the relevant issue on GitHub so that I don't forget again...
Post Reply