tether ![code/datums/components/tether.dm 2](git.png)
Creates a tether between two objects that limits movement range. Tether requires LOS and can be adjusted by left/right clicking its
Vars | |
cur_dist | Current extension distance |
---|---|
embed_target | Embedded item that the tether "should" originate from |
max_dist | Maximum (and initial) distance that this tether can be adjusted to |
no_target_trait | If TRUE, only add TRAIT_TETHER_ATTACHED to our parent |
parent_module | Tether module if we were created by one |
tether_beam | Beam effect |
tether_name | What the tether is going to be called |
tether_target | Other side of the tether |
tether_trait_source | Source, if any, for TRAIT_TETHER_ATTACHED we add |
Var Details
cur_dist ![code/datums/components/tether.dm 11](git.png)
Current extension distance
embed_target ![code/datums/components/tether.dm 13](git.png)
Embedded item that the tether "should" originate from
max_dist ![code/datums/components/tether.dm 7](git.png)
Maximum (and initial) distance that this tether can be adjusted to
no_target_trait ![code/datums/components/tether.dm 23](git.png)
If TRUE, only add TRAIT_TETHER_ATTACHED to our parent
parent_module ![code/datums/components/tether.dm 17](git.png)
Tether module if we were created by one
tether_beam ![code/datums/components/tether.dm 15](git.png)
Beam effect
tether_name ![code/datums/components/tether.dm 9](git.png)
What the tether is going to be called
tether_target ![code/datums/components/tether.dm 5](git.png)
Other side of the tether
tether_trait_source ![code/datums/components/tether.dm 19](git.png)
Source, if any, for TRAIT_TETHER_ATTACHED we add