Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

YARD - Yet Another Resource Database

An asset by elliotfontaine
The page banner background of a mountain and forest
YARD - Yet Another Resource Database thumbnail image
YARD - Yet Another Resource Database thumbnail image
YARD - Yet Another Resource Database hero image

Quick Information

0 ratings
YARD - Yet Another Resource Database icon image
elliotfontaine
YARD - Yet Another Resource Database

YARD is an editor plugin to manage registries (catalogues of resources) through a spreadsheet-like table view, and query them at runtime via a lightweight API.FEATURES:- Reference resources by human-readable string IDs- @export registry IDs as an inspector dropdown (enum-like)- Restrict registries to a specific class- Sync a registry from a directory automatically- Bake a property index for zero-cost runtime queries- Load entries individually, all at once, or asynchronouslyUSAGE:```const ENEMIES: Registry = preload("res://data/enemy_registry.tres")var skeleton: Enemy = ENEMIES.load_entry(&"skeleton")var legendaries := WEAPONS.filter_by_value(&"rarity", Rarity.LEGENDARY)```See the README.md and Registry class reference for more details.

Supported Engine Version
4.5
Version String
v1.1.0
License Version
MIT
Support Level
community
Modified Date
1 month ago
Git URL
Issue URL

@tool extends AcceptDialog

const Namespace := preload("res://addons/yard/editor_only/namespace.gd") const MarkdownLabel := Namespace.MarkdownLabel

@onready var markdown_label: MarkdownLabel = %MarkdownLabel

func _ready() -> void: if Engine.is_editor_hint(): var mono: Font = get_theme_font(&"font", &"CodeEdit") markdown_label.add_theme_font_override(&"mono_font", mono) markdown_label.add_theme_color_override(&"table_even_row_bg", get_theme_color(&"prop_section", &"Editor")) markdown_label.add_theme_color_override(&"table_odd_row_bg", get_theme_color(&"separator_color", &"Editor")) markdown_label.h2.font_color = get_theme_color(&"accent_color", &"Editor") markdown_label.h3.font_color = get_theme_color(&"font_focus_color", &"Editor")

    #markdown_label.display_file()

YARD is an editor plugin to manage registries (catalogues of resources) through a spreadsheet-like table view, and query them at runtime via a lightweight API.

FEATURES:
- Reference resources by human-readable string IDs
- @export registry IDs as an inspector dropdown (enum-like)
- Restrict registries to a specific class
- Sync a registry from a directory automatically
- Bake a property index for zero-cost runtime queries
- Load entries individually, all at once, or asynchronously

USAGE:
```
const ENEMIES: Registry = preload("res://data/enemy_registry.tres")

var skeleton: Enemy = ENEMIES.load_entry(&"skeleton")
var legendaries := WEAPONS.filter_by_value(&"rarity", Rarity.LEGENDARY)
```

See the README.md and Registry class reference for more details.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
YARD - Yet Another Resource Database icon image
elliotfontaine
YARD - Yet Another Resource Database

YARD is an editor plugin to manage registries (catalogues of resources) through a spreadsheet-like table view, and query them at runtime via a lightweight API.FEATURES:- Reference resources by human-readable string IDs- @export registry IDs as an inspector dropdown (enum-like)- Restrict registries to a specific class- Sync a registry from a directory automatically- Bake a property index for zero-cost runtime queries- Load entries individually, all at once, or asynchronouslyUSAGE:```const ENEMIES: Registry = preload("res://data/enemy_registry.tres")var skeleton: Enemy = ENEMIES.load_entry(&"skeleton")var legendaries := WEAPONS.filter_by_value(&"rarity", Rarity.LEGENDARY)```See the README.md and Registry class reference for more details.

Supported Engine Version
4.5
Version String
v1.1.0
License Version
MIT
Support Level
community
Modified Date
1 month ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers