Gather Qi

Gather Qi is an Object Property indicating how much and how far an Object permeates its surroundings with Qi. The effect falls off over the range.
See: Cultivation Rooms
== Range ==
See also: Game Range
An object with a positive Gather Qi value also has a Range value, which indicates how far Qi is gathered from the Tile on which the object is on. The range starts at 1, meaning the tile itself, with each subsequent value increasing the range in "cardinal directions" (up, down, left, right) linearly.
As an example, the table below showcases the range associated to the tile surrounding an object from the object itself X (1) to 4.
 	 	 	4	 	 	
 	4	4	3	4	4	
 	4	3	2	3	4	
4	3	2	X	2	3	4
 	4	3	2	3	4	
 	4	4	3	4	4	
 	 	 	4	 	 	
== Falloff ==
Qi Gathering can decay over distance. The decay is affected by the properties of the Item (game code property in parentheses):
* Gather Qi Power (AddionLing)
* Gather Qi Range (AddionRadius), 
** Range should not be confused with the Distance, which is equal to Range-1.
** For example, Spiritwood has a Gather Qi Distance of 3, but a Range of 4.
* Gather Qi Decay Rate (AddionFailing)
* Gather Qi Decay Starting Distance (AddionFailRadius)
Spiritwood in this example, has 20 Gather Qi Power, and Gather Qi Distance of 3 (Range 4). It also has a Gather Qi Decay Rate of 0.8 and a Gather Qi Decay Starting Distance of 2.
Effect of Spiritwood Qi Gathering at Distance
0 	1 	1.41	2 	2.24 	2.83 	3
20	20	20 	20	18.97	16.63	16
To put that into context, here's what that would look like in game:
If overlapped, they add up, meaning two pieces of Spiritwood would look something like below:
This interaction is the foundation of Cultivation Rooms.
Note: not all items have the same falloff function as , so they would need to be checked individually. As a general rule, use whatever you have that has the highest Gather Qi strength within its range.
Falloff calculation details
When calculating the decay of Qi Gathering (or any other AuraData utilizing effect), there are three rules to keep in mind:
*When Distance <= Gather Qi Decay Starting Distance, the Effect is equal to the base Qi Gathering Value.
*When Distance > Gather Qi Decay Starting Distance but <= Gather Qi Distance, the Effect is: 
**(Qi Gathering Value) * ((Qi Gathering Decay Rate) To the Power of (Distance - Qi Gathering Decay Starting Range))
*When Distance > Gather Qi Distance, the Effect is 0.
For context, with the previous example on :
*Distances Greater Than (Qi Gathering Range(4) -1)=3, Effect is 0
*Distances Smaller or Equal To Qi Gathering Decay Starting Range (2), which includes Distances 0-2, Effect is 20
*For Distance 2.236:
**20*0.8(2.236-2)=20*0.80.236=20*0.948=18.97
*For Distance 2.828:
**20*0.8(2.828-2)=20*0.80.828=20*0.831=16.62
*For Distance 3:
**20*0.8(3-2)=20*0.81=20*0.8=16
==List of Gather Qi Objects==
===Items===
Items with Gather Qi Attribute
Name (ThingDef)	Element	Power	Range	Decay	Start Decay	0 	1 	1.41 	2 	2.24 	2.83 	3 	3.16 	3.61 	4 	4.12
Item_DragonShit	 	90 	3 	0.95 	0 	90 	85.5	83.70	81.22	 	 	 	 	 	 	
Item_Dan_ExtremeLofty	 	90 	2 	1 	1 	90 	90 	 	 	 	 	 	 	 	 	
Item_TuEssence	 	75 	2 	0.9 	1 	75 	75 	 	 	 	 	 	 	 	 	
Item_ExtremeJade	 	35 	3 	0.8 	1 	35 	35 	31.91	28 	 	 	 	 	 	 	
Item_SkyStone 	 	35 	3 	0.8 	1 	35 	35 	31.91	28 	 	 	 	 	 	 	
Item_SkyStoneBlock	 	30 	3 	0.8 	1 	30 	30 	27.35	24 	 	 	 	 	 	 	
Item_JadeEssence	 	25 	3 	0.8 	1 	25 	25 	22.79	20 	 	 	 	 	 	 	
 Item_StoneEssence	 	20 	3 	0.8 	1 	20 	20 	18.23	16 	 	 	 	 	 	 	
Item_MiBao_DaiShenZhu	 	10 	4 	0.8 	2 	10 	10 	10 	10 	9.48 	8.31 	8 	 	 	 	
Item_BossFeng_HongYu	 	200 	2 	0.95 	1 	200	200 	 	 	 	 	 	 	 	 	
Item_BossFeng_TouYu	 	150 	2 	0.95 	1 	150	150 	 	 	 	 	 	 	 	 	
Item_BossFeng_WeiYu	 	75 	5 	0.95 	1 	75 	75 	73.42	71.25	70.39	68.28	67.68	67.12	65.61	64.30	
Item_HuoEssence	 	75 	2 	0.9 	1 	75 	75 	 	 	 	 	 	 	 	 	
Item_BossFeng_Gu	 	50 	3 	0.95 	1 	50 	50 	48.95	47.5 	 	 	 	 	 	 	
Item_BossFeng_HuoYu	 	35 	4 	0.95 	1 	35 	35 	34.26	33.25	32.84	31.86	31.58	 	 	 	
Item_BossFeng_GangYu	 	35 	4 	0.95 	1 	35 	35 	34.26	33.25	32.84	31.86	31.58	 	 	 	
Item_CopperBlock1	 	30 	3 	0.95 	1 	30 	30 	29.36	28.5 	 	 	 	 	 	 	
Item_Dan_HundredRefine	 	90 	2 	1 	1 	90 	90 	 	 	 	 	 	 	 	 	
Item_JinEssence	 	75 	2 	0.9 	1 	75 	75 	 	 	 	 	 	 	 	 	
Item_StarEssence	 	35 	3 	0.6 	1 	35 	35 	28.32	21 	 	 	 	 	 	 	
Item_StarEssenceBlock	 	30 	3 	0.6 	1 	30 	30 	24.28	18 	 	 	 	 	 	 	
Item_BossZhuLong_LongYu	 	200 	2 	0.95 	1 	200	200 	 	 	 	 	 	 	 	 	
Item_BossZhuLong_TianLin	 	150 	2 	0.95 	1 	150	150 	 	 	 	 	 	 	 	 	
Item_BossZhuLong_Eye	 	75 	5 	0.95 	1 	75 	75 	73.42	71.25	70.39	68.28	67.68	67.12	65.61	64.30	
Item_BossZhuLong_HeiLin	 	35 	4 	0.95 	1 	35 	35 	34.26	33.25	32.84	31.86	31.58	 	 	 	
Item_BossZhuLong_BaiLin	 	35 	4 	0.95 	1 	35 	35 	34.26	33.25	32.84	31.86	31.58	 	 	 	
Item_BossLong_NiLin	 	200 	2 	0.95 	1 	200	200 	 	 	 	 	 	 	 	 	
Item_BossLong_Jiao	 	150 	2 	0.95 	1 	150	150 	 	 	 	 	 	 	 	 	
Item_BossLong_Jing	 	75 	5 	0.95 	1 	75 	75 	73.42	71.25	70.39	68.28	67.68	67.12	65.61	64.30	
Item_ShuiEssence	 	75 	2 	0.9 	1 	75 	75 	 	 	 	 	 	 	 	 	
Item_BossLong_Zhua	 	50 	3 	0.95 	1 	50 	50 	48.94	47.5 	 	 	 	 	 	 	
Item_SoulPearl	 	45 	3 	0.7 	1 	45 	45 	38.82	31.5 	 	 	 	 	 	 	
Item_DragonScale	 	35 	4 	0.95 	1 	35 	35 	34.26	33.25	32.84	31.86	31.58	 	 	 	
Item_BossLong_Lin	 	35 	4 	0.95 	1 	35 	35 	34.26	33.25	32.84	31.86	31.58	 	 	 	
Item_SilverBlock1	 	30 	3 	0.95 	1 	30 	30 	29.36	28.5 	 	 	 	 	 	 	
Item_MuEssence	 	75 	2 	0.9 	1 	75 	75 	 	 	 	 	 	 	 	 	
Item_ParasolWood	 	35 	3 	0.8 	2 	35 	35 	35 	35 	 	 	 	 	 	 	
Item_ParasolWoodBlock	 	30 	3 	0.8 	2 	30 	30 	30 	30 	 	 	 	 	 	 	
Item_LingWood 	 	20 	4 	0.8 	2 	20 	20 	20 	20 	18.97	16.62	16 	 	 	 	
Item_LingWoodBlock	 	15 	4 	0.8 	2 	15 	15 	15 	15 	14.23	12.46	12 	 	 	 	
=== Ancient Relics ===
While ancient relics are items and thus part of the above category, they have separate constraints making them difficult to use and thus have been isolated in their own list.
Name (ThingDef)	Element	Power	Range	Decay	Start Decay	0 	1 	1.41 	2 	2.24 	2.83 	3 	3.16	3.61	4 	4.12
FengShuiItem_Ta2	 	150 	7 	1 	1 	150	150	150 	150 	150 	150 	150 	150 	150 	150	150
FengShuiItem_QiJu1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_FuZhou1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_Jian1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_YinZhang2	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_HuLu1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_Ding1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_ShiTou1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_ShuJi1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_Ping1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_Ta1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_BaoBei1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_YinZhang1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.04	29.55	28.12	 	 	 	
FengShuiItem_Bei1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_ShiZi1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_SheLi1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_TuHua1	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
FengShuiItem_YinZhang3	 	50 	4 	0.75 	1 	50 	50 	44.38	37.5	35.03	29.55	28.12	 	 	 	
===Buildings===
Buildings with Gather Qi attribute
Name (ThingDef)	Element	Power	Range	Decay	Start Decay	0 	1 	1.41	2 	2.24 	2.83 	3 	3.16 	3.61 	4 	4.12
Altar of Magic
Building_LianFaTan	Any 	600 	2 	1 	1 	600 	600 	 	 	 	 	 	 	 	 	
Qi Cushion
Building_MagicCushion	Any 	60 	1 	1 	0 	60 	 	 	 	 	 	 	 	 	 	
Immortal's Mortal Body
Building_YiTui	Any 	50 	9 	1 	1 	50 	50 	50 	50 	50 	50 	50 	50 	50 	50 	50
Wonder Base building
MiracleBase	Any 	30 	9 	1 	1 	30 	30 	30 	30 	30 	30 	30 	30 	30 	30 	30
Throne of Taos
Building_WanDaoZunFaZuo	 	1200 	3 	1 	1 	1200	1200	1200	1200	 	 	 	 	 	 	
Fiery Chasm
Building_Geothermy	 	45 	5 	0.9 	2 	45 	45 	45 	45 	43.89	41.24	40.5	39.81	37.99	36.45	
Otherworld Rift
Building_OuterWorld	 	45 	5 	0.9 	2 	45 	45 	45 	45 	43.89	41.24	40.5	39.81	37.99	36.45	
Frozen Furnace
Building_ColdHole	 	45 	5 	0.9 	2 	45 	45 	45 	45 	43.89	41.24	40.5	39.81	37.99	36.45	
Altar of Death
Building_WanGuXieFaTan	 	1200 	3 	1 	1 	1200	1200	1200	1200	 	 	 	 	 	 	
Illumitree
LingShu	 	45 	5 	0.9 	2 	45 	45 	45 	45 	43.89	41.24	40.5	39.81	37.99	36.45	
===Plants===
Plants with Gather Qi attribute
Name (ThingDef)	Element	Power	Range	Decay	Start Decay	0 	1 	1.41 	2 	2.24 	2.83 	3 	3.16 	3.61 	4 	4.12
Spirit Root
LingZhiBase	Any 	80 	5 	0.9 	1 	80	80	76.58	72	70.23	65.98	64.8	63.70	60.79	58.32	
Huge Ginkgo Tree
TreeGinkgo_Big	 	45 	5 	0.9 	2 	45	45	45 	45	43.89	41.24	40.5	39.81	37.99	36.45	
==Gather Qi objects with element-neutral range==
 Gather Qi objects don't affect the Element Composition of a tile and can be used safely, refer above for a list. Outside of them some elemental gather qi objects, like the , have a Gather Qi range that go further than their Element Emission range. It is thus possible to use those for all elements, as long as the item is placed outside the element emission limit of the tile(s) they need to affect.
===Standard items===
Name (ThingDef)	Element	Power	Gather Qi range	Element emission range
Item_BossFeng_HuoYu	 	35 	4 	3
Item_BossFeng_GangYu	 	35 	4 	3
Item_BossFeng_WeiYu	 	75 	5 	3
Item_DragonScale	 	35 	4 	3
Item_BossLong_Lin	 	35 	4 	3
Item_BossLong_Jing	 	75 	5 	3
Item_MiBao_DaiShenZhu	 	10 	4 	3
Item_JadeEssence	 	25 	3 	2
 Item_StoneEssence	 	20 	3 	2
Item_LingWood 	 	20 	4 	3
Item_LingWoodBlock	 	15 	4 	3
Immortal's Mortal Body
Building_YiTui	Any 	50 	9 	8
===Ancient Relics and Spirit roots===
While both Ancient Relics and Spirit Roots technically have some element-neutral gather qi range, their other constraints makes using them more difficult so they're in a separate list.
Name (ThingDef)	Element	Power	Gather Qi range	Element emission range
Spirit Root
LingZhiBase	Any 	80 	5 	2
FengShuiItem_Ding1	 	50 	4 	0
FengShuiItem_ShiTou1	 	50 	4 	0
FengShuiItem_ShuJi1	 	50 	4 	0
FengShuiItem_Ping1	 	50 	4 	0
FengShuiItem_Ta1	 	50 	4 	0
FengShuiItem_BaoBei1	 	50 	4 	0
FengShuiItem_YinZhang1	 	50 	4 	0
FengShuiItem_Bei1	 	50 	4 	0
FengShuiItem_ShiZi1	 	50 	4 	0
FengShuiItem_SheLi1	 	50 	4 	0
FengShuiItem_TuHua1	 	50 	4 	0
FengShuiItem_YinZhang3	 	50 	4 	0
==Qi Gathering==
Qi Gathering is a community term for the intentional continuous increase in Qi on one or several Tiles, resulting from strategically placed Objects with Gather Qi properties and Ambient Qi.
===Uses===
*To gather Qi to one focused point. 
**For Cultivation purposes it is beneficial to create locations with a high amount of Qi.
See: Cultivation Rooms
===Value===
The Qi Gathering value is a summation of:
*Spirit Soil +40 (only if there is no Flooring)
*Objects with Gather Qi if within Range (with appropriate effectiveness falloff)
**Items
**Plants
**Buildings
===Disrupting Flow===
*Adding an item will disturb the Ambient Qi within a Square Range equivalent to its Gather Qi range. This is the basis of Manual Qi Burst and Qi Fountain setups.
**It takes up to 5 days for the Qi to build back up*
**It is also possible to "remove flooring" on top of Spirit Soil, instantly flipping the Qi Gathering value.
It is possible to have negative Qi Gathering that removes or "pushes out" Qi with Cursed Spirit Roots. For that, check out the Spirit Roots#Guide.
==Mods==
===MoreGridInfo===
MoreGridInfo is a Mod that gives numeric information for various values present on a tile: 
*Qi
*Max Qi (in 5 days)
*Gather Qi (collective)
*Lighting
*Room attractiveness
*Five Elements
==Additional Reading==
Chinese threads on Baidu, which go over the mechanics in detail:
*https://tieba.baidu.com/p/6419752081?see_lz=1&pn=2
*http://tieba.baidu.com/photo/p?kw=%E4%BA%86%E4%B8%8D%E8%B5%B7%E7%9A%84%E4%BF%AE%E4%BB%99%E6%A8%A1%E6%8B%9F%E5%99%A8&flux=1&tid=6419752081&pic_id=091d4a32c895d1432320b85a64f082025baf07b4&pn=1&fp=2&see_lz=1&red_tag=i1154882023
Category:Gather Qi
Category:Game Mechanics