Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 3.05 KB

README.md

File metadata and controls

74 lines (54 loc) · 3.05 KB

Griddy

This module provides core functionality for managing items, but some assembly will be required

It is system agnostic, but that means the module will have to be told

  • what type of items should be included
  • where in the item's data the quantity variable is
  • how many items can be in a stack
  • the dimensions of the items
  • whether the items are containers
  • what to do when you click the items

What the module handles

  • tracking position and dimensions of items on the grid
  • combining of items of the same name
  • storing items in items defined as containers
  • dragging and dropping of items to and from the grid

Item splitting is handled by pressing Ctrl or Shift for splitting 1 or half respectively.

Items dragged to items marked as containers will move the item into that container.

You can change the dimensions of items within the grid by holding shift or control while using the mouse wheel to resize horizontally or vertically respectively.

The item configuration dialog, accessed through the header button added to the item sheet allows you to change:

  • item dimensions
  • position of item on the grid (if it is an actor owned item)
  • item exclusion
  • whether the item functions as a container
  • stack size limit (max quantity before triggering it to split into two items)

image

Updates

1.0.21

  • fixed a bonehead error that would cause an infinite render loop due to conflict resolution thinking it found a spot for an item that is in fact invalid

1.0.20

  • fixed items in directory being deleted if dragged onto the same item in a grid
  • improved handling of quantities that may not be stored as numbers

1.0.19

  • new settings helpers for item types and quantity property selection
  • when containers are deleted, items flagged as in that container will be moved out of the container
  • fixed a bug that was causing errors when dragging items from items directory or compendiums
  • items marked as containers will default their columns and rows to 1 instead of not setting those values at all

1.0.18

  • added item type selection dialog on load if none are defined

1.0.17

  • items dragged on top of containers will show white outline instead of the usual red that indicates conflict
  • items dragged on top of items of the same name will have a green outline to indicate that they will combine

1.0.16

  • containers can no longer be dropped inside their own grid
  • simplified drop handline to drop target rather than handling on overlap
  • items added to containers will now notify user of that
  • enhanced item conflict handling to prioritize the position of the last item moved
  • so you can drop an item on top of other items, the conflicting items will be moved
  • and items can now be rotated despite conflicts, the conflicting items will be moved

1.0.15

  • fixed item opacity not being set back to 1 when there was a conflict in dragging

1.0.14

  • improved drag preview
  • items in containers moved between actors will now take their contents with them

1.0.13

  • fixed error in free space finder