Hnxml Standard
    Preparing search index...

    Type Alias Filechange

    Task to add the text specified by keyword to the specified file. This is usually achieved by the "replace" command.

    <!-- This entry asks for the player to add the text "extension" to the file -->
    <goal type="filechange" target="advExamplePC" file="changeFile.txt" path="home" keyword="extension"/>

    Task to remove the text specified by keyword to the specified file. This is usually achieved by the "replace" command. The extra attribute "removal" tasks the player with removing a block of text from a file. Combining this with another filechange task can require a "replacement" of text (removing some, adding a different block).

    Example: This entry asks for the player to remove the text "data" from the file

    <goal type="filechange" target="advExamplePC" file="changeFile.txt" path="home" keyword="data" removal="true" caseSensitive="true"/>
    
    type Filechange = {
        caseSensitive?: string;
        file: string;
        keyword: string;
        path: string;
        removal?: string;
        target: string;
        type: "filechange";
    }
    Index

    Properties

    caseSensitive?: string
    file: string
    keyword: string
    path: string
    removal?: string
    target: string
    type: "filechange"