You are viewing a potentially older version of this package. View all versions.
LoafWF-TitleAPI-1.0.3 icon

TitleAPI

Allows Mod Developers to register their own Titles!

By LoafWF
Date uploaded 4 days ago
Version 1.0.3
Download link LoafWF-TitleAPI-1.0.3.zip
Downloads 787
Dependency string LoafWF-TitleAPI-1.0.3

This mod requires the following mods to function

NotNet-GDWeave-2.0.12 icon
NotNet-GDWeave

Mod loader & runtime script patching for Godot

Preferred version: 2.0.12

README

Title API | IamKikin & Nowaha

In the WebFishing update 1.09, the developer & contributors got "Titles".

A Title is a text above your head that says "[LAMEDEV]" "[CONTRIBUTOR]" with fun little colors.

Developer Usage

To use TitleAPI within your mods, install the Godot Version from our Github & then just autoload it as TitleAPI.

onready var title_api = get_node_or_null("/root/TitleAPI")

func _ready:
    if title_api != null:
        _name = title_api.register_title(STEAM_ID, TITLE) # Register your own Title

Example

onready var title_api = get_node_or_null("/root/TitleAPI")

func _ready():
    if title_api != null:
        _name = title_api.register_title(76561198123766302, "[color=#913BED][LOAF][/color]")
onready var title_api = get_node_or_null("/root/TitleAPI")

func _ready():
    if title_api != null:
        _name = title_api.register_title(76561199157842765, "[color=#D57EEC][KIKIN][/color]")

Report any bugs to IamKikin on WEBFISHING Modding Community Discord Mady by IamKikin & Nowaha