]> git.lizzy.rs Git - Crafter.git/blob - README.md
Tweak mob direct chase AI
[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 # ALPHA STATE CHANGELOG
14
15 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
16
17 ## 0.03
18 > It's A Real Game! Update
19 - make grass spread
20 - water buckets
21 - buckets water farmland
22 - pickaxe required to mine stone based nodes
23 - Crafting bench
24 - Farming with hoes, grass drops seeds, bread, etc
25 - simplify mobs ai
26 - running out of a node when placing tries to replace it with another of the same item in inventory
27 - crafting bench
28 - add in default furnace
29 - add backgrounds to all gui elements
30 - make furnaces drop all items on destroy instead of not allowing you to mine them
31 - added glass - smelt sand
32 - added boat 
33 - rightclicking with tool places torch
34 - add chest
35 - make chest drop all items when you mine them
36 - add in redstone:
37 - torch, repeater, comparator, inverter, piston, player detector,light,
38 - redstone ore - drops 4,5 redstone dust, turns on when punched
39 - pressure plate, detects players (output max), detects items (output based on number of items)
40 - fix item size based on number of items in stack to fixed size
41 - add hoppers
42 - Add TooManyItems
43 - add function to check which nodes drop the item
44 - fix hoppers not activating furnace
45 - make pigs head turn smoothly
46 - Add in fences, walls, windows
47 - Overhaul doors
48 - Add credits screen
49 - Add stairs
50 - Add slabs
51 - 2 Music tracks (day and morning)
52 - Add snow
53 - Fix bed placement
54 - Add snow and snowballs
55 - Make snow falling node
56 - Add creative mode
57 - Add trap chest and sticky piston
58 - Added Et QtFunny font info
59 - Added footers and books
60 - Added rain 
61 - Added Book sounds
62 - Changed TNT sound
63 - Overhauled eating
64 - Add in client weather handling
65 - Add in client movement handling
66 - Made sapling fuel
67 - Fix bed bed, boat, book, sapling, wood, minecart, rail, redstone, and boat placement
68 - Add sounds to redstone dust
69 - make redstone dust an attached node
70 - Fixed treecaptitator not cutting down part of tree when lever is powering one of it's nodes
71 - Added command for users with "server" privelage to control weather
72 - Added craft recipe to shears
73 - Moved to Minetest Engine Version 5.3.0 - DEV
74 - Added slimes
75 - Added mob criticals and client effects
76 - Added stream and river sound effect to client
77 - Moved underground cave noises to client
78 - Add line_of_sight so mobs can't hit you through walls
79 - Add nether prototype
80 - Fix water animation and add default Minetest water texture
81 - Tweak mob direct chase AI
82 ---
83
84
85 # IDEAS:
86
87
88
89 ## REDSTONE:
90 - breaker (mines whatever is in front of it)
91 - dispenser (shoots out first item in inventory, or shoots item into pipe)
92 - sticky piston (pulls node in front of it)
93 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
94
95
96 ---
97
98
99 ## MOBS:
100
101 > #1 idea, - make mobs pathfind
102
103
104 ### sheep
105 - sheep can be punched to drop wool without damage
106 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
107
108
109 ### pig
110 - disable pig aggression
111 - make porkchop look nicer
112
113
114 ### ghosts
115 - make the default player model whited out
116 - ghosts can pass through any nodes
117 - ghosts fly around
118 - will follow you groaning about "diamonds", "need food", and "join us"
119 - they will fling you up in the air or punch you
120 - ghosts can drag you down into nodes and suffocate you
121 - spawn with cave sounds
122 - drop soul
123
124
125 ### node monster
126 - gets built out of nodes in the area
127 - will probabaly destroy you
128 - drops all nodes that it's made of when killed
129
130
131 ### Exploder
132 - sneaks up on you and then explodes
133 - drops gun powder
134
135
136 ---
137
138
139 ## Game Mechanics:
140 - xp (edit the node drops code to check if node has tag for xp)
141 - brewing
142 - enchanting/upgrading
143 - magic (wands, spells, etc)
144 - better combat ( sweep hit enemies, falling while hitting deals more damage )
145
146
147 ---
148
149
150 ## New Themes
151
152 ### mechanics (mechanical tools and machines)
153 - compressor (compresses nodes down)
154 - auto miner (digs whatever is in front of it)
155 - decompressor (opposite of compressor
156
157
158 ### automation 
159 - pipes
160 - pumps
161 - fluid  transfer
162 - fluid storage
163 - pipes should be able to move objects quickly
164
165
166 ### HALLOWEEN!
167 - pumpkins
168 - Jack O'Lanterns
169 - corn and corn stalks
170 - decorations
171 - cobwebs
172 - costumes (somehow?)
173 - candy
174 - make grass and leaves orange during the month of October
175 - (Use a simple date check and override nodes)
176 - Gravestones
177 - Graveyards
178 - Candles
179 - candy apples
180 - Soul cake, make with cake and soul
181
182
183 ### Farming
184 - add fertilizer (pig drops bone randomly) 
185 - fertilizer is made out of bone - 
186 - fertilizer can make tall grass grow on regular grass
187 - bread - 3 bread in a row
188 - make sandwich with bread and cooked porkchop
189 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
190
191
192 ### Fishing
193 - have a rod that you can cast into water
194 - bobber entity which goes under water when fish on line
195
196
197 ---
198
199
200 ## New Items
201
202 > These don't seem to fit into any theme so list them all here
203
204 - sugar and sugar cane (grow near water on sand)
205 - rope and tnt arrows
206 - vehicles (car, powered minecarts, trains)
207 - hitscan flintlocks
208 - bows
209
210
211 ---
212
213
214 ## Ideas
215
216 > These ideas are all over the place but are good for future updates
217
218 - make pistons able to push and pull any node that does not use meta or inv
219 - make pistons able to push and pull deactivated pistons
220 - upgrade minecart physics even more 
221 - make torches abm that checks if player in area
222 - make furnace abm that checks if player in area
223 - 3d character
224 - make tnt hurt player
225 - rewrite minecart
226 - fix tool rightclick torch placement to replace buildable to nodes
227 - if placed last node put another stack into hand
228 - have falling node hurt player?
229 - add a function to set a velocity goal to entities and then implement it with all entities
230 - ^make a value if below then stop?
231 - colored chat messages
232 - check if everyone is in bed before going to next night
233 - also lock player in bed until they get out or daytime
234 - create a function to check if a node or group is below
235 - ^ set meta for player so that all mods can use it without calculating it
236 - ^ over and over again (saves cpu cycles)
237 - cars buildable in crafting table
238 - require gas pumps refine oil
239 - drive next to gas pump and car will fill with gas
240 - maybe have pump be rightclickable and then manually fill with gass using nozel
241 - minecart car train? - off rail use
242 - automatic step height for off rail use
243 - make cars follow each other
244 - oil which spawns underground in pools
245 - powered minecart car (engine car)
246 - chest minecart car
247 - player controls engine car
248 - make entities push against players
249
250
251 ---
252
253
254 ## Possible Applications
255
256 > causes object to magnetize towards player or other objects and stop after an inner radius
257 > use for better item magnet?
258 ```
259 if object:is_player() and object:get_player_name() ~= self.rider then
260       local player_pos = object:getpos()
261       pos.y = 0
262       player_pos.y = 0
263       
264       local currentvel = self.object:getvelocity()
265       local vel = vector.subtract(pos, player_pos)
266       vel = vector.normalize(vel)
267       local distance = vector.distance(pos,player_pos)
268       distance = (1-distance)*10
269       vel = vector.multiply(vel,distance)
270       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
271       
272       
273       if self.axis == "x"      then
274             self.object:add_velocity(vector.new(acceleration.x,0,0))
275       elseif self.axis == "z" then
276             self.object:add_velocity(vector.new(0,0,acceleration.z))
277       else
278             self.object:add_velocity(acceleration)
279       end
280       
281       - acceleration = vector.multiply(acceleration, -1)
282       - object:add_player_velocity(acceleration)
283 end
284 ```