]> git.lizzy.rs Git - Crafter.git/blob - README.md
Increase tnt performance
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.3.0-DEV
4
5 >Built using textures from <a href="https://forum.minetest.net/viewtopic.php?t=16407">Mineclone 2</a> 
6
7 ---
8
9 ## Be sure to install the clientside mod for this game mode: <a href="https://github.com/oilboi/crafter_client">Download here</a>
10
11
12
13
14 ## If you want to run this on a server you must add this to your server minetest.conf:
15
16 ```
17 enable_client_modding = true
18 csm_restriction_flags = 0
19 enable_mod_channels = true
20 secure.http_mods = skins
21 max_objects_per_block = 4096
22 max_packets_per_iteration = 10096
23 ```
24
25
26
27 ## This game is in early alpha and uses a lot of experimental features in the engine
28
29 ---
30
31 # ALPHA STATE CHANGELOG
32
33 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
34
35 ## Alpha 0.05
36
37 > Multiplayer Polishing Update
38 - Fixed only one player being able to run on a server
39 - Fixed only one person being able to teleport in the same server step
40 - Players now use the same damage mechaninism as mobs
41 - Fixed wrong variable for durability assigned to all swords
42 - Fix bug in experience
43 - Fully implemented bows and arrows
44 - Tuned the bow and arrows even further
45 - Snowmen now drop a carrot, coal, stick, or snowball
46 - Added in armor
47 - Tuned a lot of things
48 - Made armor work
49 - Added in Krock's awesome Colored Names mod for csm chat
50 - Added sheep
51 - Fixed global mob handling
52 - Added in better fire
53 - Overhauled weather effects
54 - Added in clientside modchannel lockout to check if server sending message
55 - Added in capes
56 - Overhauled client mod version checking
57 - Overhauled mob pathfinding AI
58 - Overhauled fire
59 - Fixed Crafter Client from crashing if joining a non-crafter server
60 - Heavily optimized network usage with player mechanics to client mod
61 - Updated player_api for next step in optimization
62 - ElCeejo remodeled and fixed snowman head tracking. Thanks!
63 ---
64
65
66 # IDEAS:
67
68 ## jetpack:
69 - equipped like armor
70 - uses XP
71
72
73 ## REDSTONE:
74 - breaker (mines whatever is in front of it)
75 - dispenser (shoots out first item in inventory, or shoots item into pipe)
76 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
77
78
79 ---
80
81
82
83 ## BUILDTEST:
84 - quarry
85 - filter
86 - siv
87 - mining lazer
88 - trains
89
90
91
92 ---
93
94
95 ## MOBS:
96
97 > #1 idea: weakness items, items that damage the mob more than diamond swords
98
99 ### snowman
100 - you can put a pumpkin on it's head to make it survive when it's not snowing out
101 - drops snowballs, coal, or carrot
102
103 ### sheep
104 - sheep can be punched to drop wool without damage
105 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
106
107
108 ### pig
109 - disable pig aggression
110 - make porkchop look nicer
111
112
113 ### ghosts
114 - make the default player model whited out
115 - ghosts can pass through any nodes
116 - ghosts fly around
117 - will follow you groaning about "diamonds", "need food", and "join us"
118 - they will fling you up in the air or punch you
119 - ghosts can drag you down into nodes and suffocate you
120 - spawn with cave sounds
121 - drop soul
122
123
124 ### node monster
125 - gets built out of nodes in the area
126 - will probabaly destroy you
127 - drops all nodes that it's made of when killed
128
129
130
131 ---
132
133
134 ## Game Mechanics:
135 - brewing
136 - enchanting/upgrading
137 - magic (wands, spells, etc)
138 - better combat ( sweep hit enemies, falling while hitting deals more damage )
139 - Enchanting food - gives buffs
140 - LATE effects https://forum.minetest.net/viewtopic.php?t=20724
141
142
143 ---
144
145
146 ## New Themes
147
148 ### mechanics (mechanical tools and machines)
149 - compressor (compresses nodes down)
150 - auto miner (digs whatever is in front of it)
151 - decompressor (opposite of compressor
152
153
154 ### automation 
155 - pipes
156 - pumps
157 - fluid  transfer
158 - fluid storage
159 - pipes should be able to move objects quickly
160
161
162 ### HALLOWEEN!
163 - Jack O'Lanterns
164 - corn and corn stalks
165 - decorations
166 - cobwebs
167 - costumes (somehow?)
168 - candy
169 - make grass and leaves orange during the month of October
170 - (Use a simple date check and override nodes)
171 - Gravestones
172 - Graveyards
173 - Candles
174 - candy apples
175 - Soul cake, make with cake and soul
176
177
178 ### Farming
179 - add fertilizer (pig drops bone randomly) 
180 - fertilizer is made out of bone - 
181 - fertilizer can make tall grass grow on regular grass
182 - bread - 3 bread in a row
183 - make sandwich with bread and cooked porkchop
184 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
185
186
187 ### Fishing
188 - enchanted fish
189 - player casts out a better lure if on a boat
190
191
192 ---
193
194
195 ## New Items
196
197 > These don't seem to fit into any theme so list them all here
198
199 - rope and tnt arrows
200 - vehicles (car, powered minecarts, trains)
201 - hitscan flintlocks
202
203
204 ---
205
206
207 ## Ideas
208
209 > These ideas are all over the place but are good for future updates
210
211 - make pistons able to push and pull any node that does not use meta or inv
212 - make pistons able to push and pull deactivated pistons
213 - upgrade minecart physics even more 
214 - make torches abm that checks if player in area
215 - make furnace abm that checks if player in area
216 - make tnt hurt player
217 - rewrite minecart
218 - fix tool rightclick torch placement to replace buildable to nodes
219 - if placed last node put another stack into hand
220 - have falling node hurt player?
221 - add a function to set a velocity goal to entities and then implement it with all entities
222 - ^make a value if below then stop?
223 - colored chat messages
224 - check if everyone is in bed before going to next night
225 - also lock player in bed until they get out or daytime
226 - create a function to check if a node or group is below
227 - ^ set meta for player so that all mods can use it without calculating it
228 - ^ over and over again (saves cpu cycles)
229 - cars buildable in crafting table
230 - require gas pumps refine oil
231 - drive next to gas pump and car will fill with gas
232 - maybe have pump be rightclickable and then manually fill with gass using nozel
233 - minecart car train? - off rail use
234 - automatic step height for off rail use
235 - make cars follow each other
236 - oil which spawns underground in pools
237 - powered minecart car (engine car)
238 - chest minecart car
239 - player controls engine car
240 - make entities push against players
241
242
243 ---
244
245
246 ## Possible Applications
247
248 > causes object to magnetize towards player or other objects and stop after an inner radius
249 > use for better item magnet?
250 ```
251 if object:is_player() and object:get_player_name() ~= self.rider then
252       local player_pos = object:getpos()
253       pos.y = 0
254       player_pos.y = 0
255       
256       local currentvel = self.object:getvelocity()
257       local vel = vector.subtract(pos, player_pos)
258       vel = vector.normalize(vel)
259       local distance = vector.distance(pos,player_pos)
260       distance = (1-distance)*10
261       vel = vector.multiply(vel,distance)
262       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
263       
264       
265       if self.axis == "x"      then
266             self.object:add_velocity(vector.new(acceleration.x,0,0))
267       elseif self.axis == "z" then
268             self.object:add_velocity(vector.new(0,0,acceleration.z))
269       else
270             self.object:add_velocity(acceleration)
271       end
272       
273       - acceleration = vector.multiply(acceleration, -1)
274       - object:add_player_velocity(acceleration)
275 end
276 ```